mirror_zfs/cmd/zpool/zpool.d
Rich Ercolani ecaccf764a
Workaround broken VDEV_UPATH
Sometimes, for reasons I haven't looked into yet, VDEV_UPATH
gets set to /dev/(null), breaking all these scripts.

It'd be nice to have a fallback case to avoid total failure.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes #13436
2022-05-10 10:14:07 -07:00
..
ata_err zpool iostat/status -c improvements 2017-06-05 10:52:15 -07:00
cmd_to zpool iostat/status -c improvements 2017-06-05 10:52:15 -07:00
defect zpool iostat/status -c improvements 2017-06-05 10:52:15 -07:00
dm-deps Add ShellCheck's --enable=all inside cmd/ 2022-01-06 16:07:54 -08:00
enc Prebaked scripts for zpool status/iostat -c 2017-04-21 09:27:04 -07:00
encdev Prebaked scripts for zpool status/iostat -c 2017-04-21 09:27:04 -07:00
fault_led Prebaked scripts for zpool status/iostat -c 2017-04-21 09:27:04 -07:00
health zpool iostat/status -c improvements 2017-06-05 10:52:15 -07:00
hours_on zpool iostat/status -c improvements 2017-06-05 10:52:15 -07:00
iostat Workaround broken VDEV_UPATH 2022-05-10 10:14:07 -07:00
iostat-1s Prebaked scripts for zpool status/iostat -c 2017-04-21 09:27:04 -07:00
iostat-10s Prebaked scripts for zpool status/iostat -c 2017-04-21 09:27:04 -07:00
label Prebaked scripts for zpool status/iostat -c 2017-04-21 09:27:04 -07:00
locate_led Prebaked scripts for zpool status/iostat -c 2017-04-21 09:27:04 -07:00
lsblk Workaround broken VDEV_UPATH 2022-05-10 10:14:07 -07:00
media Add ShellCheck's --enable=all inside cmd/ 2022-01-06 16:07:54 -08:00
model Prebaked scripts for zpool status/iostat -c 2017-04-21 09:27:04 -07:00
nonmed zpool iostat/status -c improvements 2017-06-05 10:52:15 -07:00
nvme_err Add SMART attributes for SSD and NVMe 2018-02-21 13:52:47 -08:00
off_ucor zpool iostat/status -c improvements 2017-06-05 10:52:15 -07:00
pend_sec zpool iostat/status -c improvements 2017-06-05 10:52:15 -07:00
pwr_cyc zpool iostat/status -c improvements 2017-06-05 10:52:15 -07:00
r_proc zpool iostat/status -c improvements 2017-06-05 10:52:15 -07:00
r_ucor zpool iostat/status -c improvements 2017-06-05 10:52:15 -07:00
README Prebaked scripts for zpool status/iostat -c 2017-04-21 09:27:04 -07:00
realloc zpool iostat/status -c improvements 2017-06-05 10:52:15 -07:00
rep_ucor zpool iostat/status -c improvements 2017-06-05 10:52:15 -07:00
serial zpool iostat/status -c improvements 2017-06-05 10:52:15 -07:00
ses Add ShellCheck's --enable=all inside cmd/ 2022-01-06 16:07:54 -08:00
size Prebaked scripts for zpool status/iostat -c 2017-04-21 09:27:04 -07:00
slot Prebaked scripts for zpool status/iostat -c 2017-04-21 09:27:04 -07:00
smart Workaround broken VDEV_UPATH 2022-05-10 10:14:07 -07:00
smart_test Add SMART self-test results to zpool status -c 2018-02-27 09:31:27 -08:00
smartx zpool iostat/status -c improvements 2017-06-05 10:52:15 -07:00
temp zpool iostat/status -c improvements 2017-06-05 10:52:15 -07:00
test_ended Add SMART self-test results to zpool status -c 2018-02-27 09:31:27 -08:00
test_progress Add SMART self-test results to zpool status -c 2018-02-27 09:31:27 -08:00
test_status Add SMART self-test results to zpool status -c 2018-02-27 09:31:27 -08:00
test_type Add SMART self-test results to zpool status -c 2018-02-27 09:31:27 -08:00
upath Add ShellCheck's --enable=all inside cmd/ 2022-01-06 16:07:54 -08:00
vendor Prebaked scripts for zpool status/iostat -c 2017-04-21 09:27:04 -07:00
w_proc zpool iostat/status -c improvements 2017-06-05 10:52:15 -07:00
w_ucor zpool iostat/status -c improvements 2017-06-05 10:52:15 -07:00

This directory contains scripts that can be run the zpool status/iostat
-c option:

	zpool status -c script1,script2, ...

	zpool iostat -vc script1,script2, ...

Some scripts output different values depending on the symlink name that is
used to run them.  See the zpool(8) man page for more details.