Files
mirror_zfs/man/man8
Tony Hutter 0bc841fb59 zpool: Add slot power control, print power status
Add `zpool` flags to control the slot power to drives.  This assumes
your SAS or NVMe enclosure supports slot power control via sysfs.

The new `--power` flag is added to `zpool offline|online|clear`:

    zpool offline --power <pool> <device>    Turn off device slot power
    zpool online --power <pool> <device>     Turn on device slot power
    zpool clear --power <pool> [device]      Turn on device slot power

If the ZPOOL_AUTO_POWER_ON_SLOT env var is set, then the '--power'
option is automatically implied for `zpool online` and `zpool clear`
and does not need to be passed.

zpool status also gets a --power option to print the slot power status.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Mart Frauenlob <AllKind@fastest.cc>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #15662
2024-02-13 14:22:48 -08:00
..
2022-08-08 16:56:38 -07:00
2021-06-09 13:05:34 -07:00
2021-06-09 13:05:34 -07:00
2021-06-09 13:05:34 -07:00
2022-02-16 17:58:55 -08:00
2021-06-09 13:05:34 -07:00
2021-06-09 13:05:34 -07:00
2021-06-09 13:05:34 -07:00
2021-06-09 13:05:34 -07:00
2021-06-09 13:05:34 -07:00
2022-02-16 17:58:55 -08:00
2019-12-11 11:58:37 -08:00
2022-02-16 17:58:55 -08:00
2021-06-09 13:05:34 -07:00
2022-02-16 17:58:55 -08:00
2021-06-09 13:05:34 -07:00
2021-06-09 13:05:34 -07:00
2022-02-16 17:58:55 -08:00
2022-05-10 13:36:37 -07:00
2021-06-09 13:05:34 -07:00
2021-06-09 13:05:34 -07:00
2022-02-16 17:58:55 -08:00
2021-06-09 13:05:34 -07:00
2021-06-09 13:05:34 -07:00
2021-06-09 13:05:34 -07:00