mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
358ce2cf28
There have been rare cases where the VDEV_ENC_SYSFS_PATH value that zed gets passed is stale. To mitigate this, dynamically check the sysfs path at the time of zed event processing, and use the dynamic value if possible. Note that there will be other times when we can not dynamically detect the sysfs path (like if a disk disappears) and have to rely on the old value for things like turning on the fault LED. That is to say, we can't just blindly use the dynamic path in every case. Also: - Add enclosure sysfs entry when running 'zpool add' - Fix 'slot' and 'enc' zpool.d scripts for nvme Reviewed-by: Don Brady <dev.fs.zfs@gmail.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Tony Hutter <hutter2@llnl.gov> Closes #15462 |
||
---|---|---|
.. | ||
ata_err | ||
cmd_to | ||
defect | ||
dm-deps | ||
enc | ||
encdev | ||
fault_led | ||
health | ||
hours_on | ||
iostat | ||
iostat-1s | ||
iostat-10s | ||
label | ||
locate_led | ||
lsblk | ||
media | ||
model | ||
nonmed | ||
nvme_err | ||
off_ucor | ||
pend_sec | ||
pwr_cyc | ||
r_proc | ||
r_ucor | ||
README | ||
realloc | ||
rep_ucor | ||
serial | ||
ses | ||
size | ||
slot | ||
smart | ||
smart_test | ||
smartx | ||
temp | ||
test_ended | ||
test_progress | ||
test_status | ||
test_type | ||
upath | ||
vendor | ||
w_proc | ||
w_ucor |
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.