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 /man/man8 | |
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 'man/man8')
-rw-r--r-- | man/man8/zpool.8 | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/man/man8/zpool.8 b/man/man8/zpool.8 index d8e33d6f2..35a195aa0 100644 --- a/man/man8/zpool.8 +++ b/man/man8/zpool.8 @@ -1548,12 +1548,16 @@ base 1024. To get the raw values, use the \fB-p\fR flag. Run a command on each vdev and include first line of output .sp The \fB-c\fR option allows you to run an arbitrary command on each vdev and -display the first line of output in zpool iostat. The environment vars -\fBVDEV_PATH\fR and \fBVDEV_UPATH\fR are set to the vdev's path and "underlying -path" before running the command. For device mapper, multipath, or partitioned -vdevs, \fBVDEV_UPATH\fR is the actual underlying /dev/sd* disk. This can be -useful if the command you're running requires a /dev/sd* device. Commands run -in parallel for each vdev for performance. +display the first line of output in zpool iostat. The following environment +vars are set before running each command: +.sp +\fB$VDEV_PATH\fR: Full path to the vdev. +.LP +\fB$VDEV_UPATH\fR: "Underlying path" to the vdev. For device mapper, multipath, or +partitioned vdevs, \fBVDEV_UPATH\fR is the actual underlying /dev/sd* disk. +This can be useful if the command you're running requires a /dev/sd* device. +.LP +\fB$VDEV_ENC_SYSFS_PATH\fR: The sysfs path to the vdev's enclosure LEDs (if any). .RE .sp @@ -2116,12 +2120,16 @@ If a scrub or resilver is in progress, this command reports the percentage done Run a command on each vdev and include first line of output .sp The \fB-c\fR option allows you to run an arbitrary command on each vdev and -display the first line of output in zpool status. The environment vars -\fBVDEV_PATH\fR and \fBVDEV_UPATH\fR are set to the vdev's path and "underlying -path" before running the command. For device mapper, multipath, or partitioned -vdevs, \fBVDEV_UPATH\fR is the actual underlying /dev/sd* disk. This can be -useful if the command you're running requires a /dev/sd* device. Commands run -in parallel for each vdev for performance. +display the first line of output in zpool iostat. The following environment +vars are set before running each command: +.sp +\fB$VDEV_PATH\fR: Full path to the vdev. +.LP +\fB$VDEV_UPATH\fR: "Underlying path" to the vdev. For device mapper, multipath, or +partitioned vdevs, \fBVDEV_UPATH\fR is the actual underlying /dev/sd* disk. +This can be useful if the command you're running requires a /dev/sd* device. +.LP +\fB$VDEV_ENC_SYSFS_PATH\fR: The sysfs path to the vdev's enclosure LEDs (if any). .RE .sp |