mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40:43 +03:00
Enclosure LED fixes
- Pass $VDEV_ENC_SYSFS_PATH to 'zpool [iostat|status] -c' to include enclosure LED sysfs path. - Set LEDs correctly after import. This includes clearing any erroniously set LEDs prior to the import, and setting the LED for any UNAVAIL drives. - Include symlink for vdev_attach-led.sh in Makefile.am. - Print the VDEV path in all-syslog.sh, and fix it so the pool GUID actually prints. Reviewed-by: Don Brady <don.brady@intel.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Tony Hutter <hutter2@llnl.gov> Closes #5716 Closes #5751
This commit is contained in:
committed by
Brian Behlendorf
parent
65a736bc0d
commit
b291029e86
@@ -80,6 +80,7 @@ typedef struct vdev_cmd_data
|
||||
char *upath; /* vdev underlying path */
|
||||
char *pool; /* Pool name */
|
||||
char *cmd; /* backpointer to cmd */
|
||||
char *vdev_enc_sysfs_path; /* enclosure sysfs path (if any) */
|
||||
} vdev_cmd_data_t;
|
||||
|
||||
typedef struct vdev_cmd_data_list
|
||||
|
||||
Reference in New Issue
Block a user