diff options
author | Tony Hutter <[email protected]> | 2017-02-10 16:09:45 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-02-10 16:09:45 -0800 |
commit | b291029e8661dfc2f03118921e854eec4e5bbb75 (patch) | |
tree | 6df732938171565a0dc1a82778e28101a6511f26 /cmd/zpool/zpool_util.h | |
parent | 65a736bc0df16561bac14bee6bf9a6752cf8bc39 (diff) |
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 <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Tony Hutter <[email protected]>
Closes #5716
Closes #5751
Diffstat (limited to 'cmd/zpool/zpool_util.h')
-rw-r--r-- | cmd/zpool/zpool_util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/zpool/zpool_util.h b/cmd/zpool/zpool_util.h index acdfd5075..61ed33c15 100644 --- a/cmd/zpool/zpool_util.h +++ b/cmd/zpool/zpool_util.h @@ -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 |