zfs/tests/zfs-tests/tests/functional/cli_root/zpool_offline
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
..
Makefile.am Force fault a vdev with 'zpool offline -f' 2017-05-19 12:30:16 -07:00
cleanup.ksh Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
setup.ksh Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
zpool_offline_001_pos.ksh Force fault a vdev with 'zpool offline -f' 2017-05-19 12:30:16 -07:00
zpool_offline_002_neg.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zpool_offline_003_pos.ksh Force fault a vdev with 'zpool offline -f' 2017-05-19 12:30:16 -07:00