Lines Matching refs:replace
36 # and invoke "zpool replace" to replace the original device,
37 # then the spare is automatically removed once the replace completes
42 # 3. Do 'zpool replace' with the original device
43 # 4. Verify the original device will replace by the new device,
44 # and the spare should return to available once replace completes.
71 log_must $ZPOOL replace $TESTPOOL $odev $dev
73 log_must $ZPOOL replace -f $TESTPOOL $odev $ndev
83 log_must $ZPOOL replace $TESTPOOL $ndev $odev
87 log_assert "'zpool replace <pool> <vdev> <ndev>' against a functioning device that have spared should complete and the hot spare should return to available."
102 log_pass "'zpool replace <pool> <vdev> <ndev>' against a functioning device that have spared successful and the hot spare return to available."