Lines Matching defs:vdev
35 * marking the vdev FAULTY (for I/O errors) or DEGRADED (for checksum errors).
95 * Find a vdev within a tree with a matching GUID.
108 "matched vdev %llu", guid);
143 * Given a (pool, vdev) GUID pair, find the matching pool and vdev.
154 * Find the corresponding pool and make sure the vdev still exists.
179 * Given a vdev, attempt to replace it with every known spare until one
184 replace_with_spare(fmd_hdl_t *hdl, zpool_handle_t *zhp, nvlist_t *vdev)
215 dev_name = zpool_vdev_name(NULL, zhp, vdev, B_FALSE);
260 * Repair this vdev if we had diagnosed a 'fault.fs.zfs.device' and
299 fmd_hdl_debug(hdl, "marking repaired vdev %llu on pool %llu",
318 nvlist_t *vdev = NULL;
333 * l2arc vdev, in which case we just offline it.
348 &vdev)) == NULL)
351 devname = zpool_vdev_name(NULL, zhp, vdev, B_FALSE);
359 replace_with_spare(hdl, zhp, vdev) == B_FALSE) {
413 * for faults targeting a specific vdev (open failure or SERD
417 if (fmd_nvl_class_match(hdl, fault, "fault.fs.zfs.vdev.io")) {
420 "fault.fs.zfs.vdev.checksum")) {
437 * attempt to find the matching vdev.
461 &vdev)) == NULL)
479 * If this is a repair event, then mark the vdev as repaired and
484 fmd_hdl_debug(hdl, "zpool_clear of pool '%s' vdev %llu",
500 fmd_hdl_debug(hdl, "zpool_vdev_%s: vdev %llu on '%s'",
507 (void) replace_with_spare(hdl, zhp, vdev);