mirror_zfs/cmd/zpool
Tony Hutter 4a283c7f77 Force fault a vdev with 'zpool offline -f'
This patch adds a '-f' option to 'zpool offline' to fault a vdev
instead of bringing it offline.  Unlike the OFFLINE state, the
FAULTED state will trigger the FMA code, allowing for things like
autoreplace and triggering the slot fault LED.  The -f faults
persist across imports, unless they were set with the temporary
(-t) flag.  Both persistent and temporary faults can be cleared
with zpool clear.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #6094
2017-05-19 12:30:16 -07:00
..
zpool.d Fix shellcheck warning in pre-baked script 2017-04-24 09:31:39 -07:00
.gitignore Add .gitignore files to exclude build products 2010-01-08 11:35:17 -08:00
Makefile.am Prebaked scripts for zpool status/iostat -c 2017-04-21 09:27:04 -07:00
zpool_iter.c Prebaked scripts for zpool status/iostat -c 2017-04-21 09:27:04 -07:00
zpool_main.c Force fault a vdev with 'zpool offline -f' 2017-05-19 12:30:16 -07:00
zpool_util.c codebase style improvements for OpenZFS 6459 port 2017-01-22 13:25:40 -08:00
zpool_util.h Prebaked scripts for zpool status/iostat -c 2017-04-21 09:27:04 -07:00
zpool_vdev.c Enable additional test cases 2017-05-11 14:27:57 -07:00