Lines Matching refs:replace
35 # 'zpool replace <pool> <odev> <ndev>...' should return fail if
36 # - try to replace a basic vdev that already has an activated
38 # - try to replace log device.
43 # 3. For each scenario, try to replace the basic vdev with the given hot spares
44 # 4. Verify the the replace operation get failed
71 log_must $ZPOOL replace $TESTPOOL $odev $dev
72 log_mustnot $ZPOOL replace $TESTPOOL $odev $availdev
78 log_mustnot $ZPOOL replace $TESTPOOL $odev $dev
83 log_assert "'zpool replace <pool> <odev> <ndev>' should fail with inapplicable scenarios."
98 log_mustnot $ZPOOL replace $TESTPOOL $odev $ndev
107 log_pass "'zpool replace <pool> <odev> <ndev>' fail with inapplicable scenarios."