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
..
.gitignore Add zfs_prepare_disk script for disk firmware install 2024-02-13 14:22:48 -08:00
fsck.zfs.8 Consistentify miscellaneous style on remaining manpages 2021-06-10 10:50:16 -07:00
mount.zfs.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
vdev_id.8 vdev_id.8: modernise, note scsi topology 2021-06-09 13:05:34 -07:00
zdb.8 Fix problem with zdb -d 2022-08-08 16:56:38 -07:00
zed.8.in Consistentify miscellaneous style on remaining manpages 2021-06-10 10:50:16 -07:00
zfs_ids_to_path.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zfs_prepare_disk.8.in Add zfs_prepare_disk script for disk firmware install 2024-02-13 14:22:48 -08:00
zfs-allow.8 Add missing properties to zfs allow manpage 2021-09-14 13:08:19 -07:00
zfs-bookmark.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zfs-change-key.8 Reorganize zfs(8) man page into sections 2019-11-12 11:17:40 -08:00
zfs-clone.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zfs-create.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zfs-destroy.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zfs-diff.8 zfs, libzfs: diff: accept -h/ZFS_DIFF_NO_MANGLE, disabling path escaping 2022-04-01 09:58:45 -07:00
zfs-get.8 Reorganize zfs(8) man page into sections 2019-11-12 11:17:40 -08:00
zfs-groupspace.8 Reorganize zfs(8) man page into sections 2019-11-12 11:17:40 -08:00
zfs-hold.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zfs-inherit.8 Reorganize zfs(8) man page into sections 2019-11-12 11:17:40 -08:00
zfs-jail.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zfs-list.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zfs-load-key.8 man: speling 2022-02-16 17:58:55 -08:00
zfs-mount-generator.8.in etc/systemd/zfs-mount-generator: serialise, handle keylocation=http[s]:// 2022-04-01 09:58:45 -07:00
zfs-mount.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zfs-program.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zfs-project.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zfs-projectspace.8 Reorganize zfs(8) man page into sections 2019-11-12 11:17:40 -08:00
zfs-promote.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zfs-receive.8 zfs-receive.8: properly unlight = in option setting 2022-02-16 17:58:56 -08:00
zfs-recv.8 Reorganize zfs(8) man page into sections 2019-11-12 11:17:40 -08:00
zfs-redact.8 Reorganize zfs(8) man page into sections 2019-11-12 11:17:40 -08:00
zfs-release.8 Reorganize zfs(8) man page into sections 2019-11-12 11:17:40 -08:00
zfs-rename.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zfs-rollback.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zfs-send.8 Use setproctitle to report progress of zfs send 2023-03-29 14:45:34 -07:00
zfs-set.8 Document zfs inherit -S's interaction with noninheritable properties 2022-04-21 11:09:35 -07:00
zfs-share.8 zfs-share.8: document -l flag 2022-02-16 17:58:55 -08:00
zfs-snapshot.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zfs-unallow.8 Reorganize zfs(8) man page into sections 2019-11-12 11:17:40 -08:00
zfs-unjail.8 Add FreeBSD jail support hooks 2019-12-11 11:58:37 -08:00
zfs-unload-key.8 Reorganize zfs(8) man page into sections 2019-11-12 11:17:40 -08:00
zfs-unmount.8 Reorganize zfs(8) man page into sections 2019-11-12 11:17:40 -08:00
zfs-upgrade.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zfs-userspace.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zfs-wait.8 Modernise/fix/rewrite unlinted manpages 2021-06-09 13:05:34 -07:00
zfs.8 libshare: nfs: pass through ipv6 addresses in bracket notation 2023-12-22 13:20:31 -08:00
zgenhostid.8 man: speling 2022-02-16 17:58:55 -08:00
zinject.8 zinject.8: modernise 2021-06-09 13:05:34 -07:00
zpool_influxdb.8 Consistentify miscellaneous style on remaining manpages 2021-06-10 10:50:16 -07:00
zpool-add.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zpool-attach.8 man: speling 2022-02-16 17:58:55 -08:00
zpool-checkpoint.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zpool-clear.8 zpool: Add slot power control, print power status 2024-02-13 14:22:48 -08:00
zpool-create.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zpool-destroy.8 Modernise/fix/rewrite unlinted manpages 2021-06-09 13:05:34 -07:00
zpool-detach.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zpool-events.8 man: speling 2022-02-16 17:58:55 -08:00
zpool-export.8 Modernise/fix/rewrite unlinted manpages 2021-06-09 13:05:34 -07:00
zpool-get.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zpool-history.8 Modernise/fix/rewrite unlinted manpages 2021-06-09 13:05:34 -07:00
zpool-import.8 man: zpool-import.8: -d -or -c 2022-05-10 13:36:37 -07:00
zpool-initialize.8 Add the ability to uninitialize 2023-05-26 10:09:04 -07:00
zpool-iostat.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zpool-labelclear.8 Modernise/fix/rewrite unlinted manpages 2021-06-09 13:05:34 -07:00
zpool-list.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zpool-offline.8 zpool: Add slot power control, print power status 2024-02-13 14:22:48 -08:00
zpool-online.8 Reorganize zpool(8) man page into sections 2019-11-13 09:21:07 -08:00
zpool-reguid.8 Modernise/fix/rewrite unlinted manpages 2021-06-09 13:05:34 -07:00
zpool-remove.8 zpool-remove.8: describe top-level vdev sector size limitation 2021-09-14 14:32:16 -07:00
zpool-reopen.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zpool-replace.8 man: speling 2022-02-16 17:58:55 -08:00
zpool-resilver.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zpool-scrub.8 systemd: add weekly and monthly scrub timers 2022-02-10 11:04:35 -08:00
zpool-set.8 Reorganize zpool(8) man page into sections 2019-11-13 09:21:07 -08:00
zpool-split.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zpool-status.8 zpool: Add slot power control, print power status 2024-02-13 14:22:48 -08:00
zpool-sync.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zpool-trim.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zpool-upgrade.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zpool-wait.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zpool.8 zpool: Add slot power control, print power status 2024-02-13 14:22:48 -08:00
zstream.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zstreamdump.8 zstreamdump: replace with link to zstream 2021-06-08 14:48:58 -07:00