]> git.proxmox.com Git - mirror_zfs.git/blobdiff - tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_device_replaced.ksh
Distributed Spare (dRAID) Feature
[mirror_zfs.git] / tests / zfs-tests / tests / functional / cli_root / zpool_import / import_cachefile_device_replaced.ksh
index a42c6974762f2de8f13ba197b9f334e12c4d9a1d..8a81c18cd8ca335058f41cc3eff4d54326883675 100755 (executable)
@@ -155,6 +155,12 @@ test_replacing_vdevs "raidz $VDEV0 $VDEV1 $VDEV2" \
        "$VDEV0 $VDEV1 $VDEV2" \
        true 20
 
+test_replacing_vdevs "draid:1s $VDEV0 $VDEV1 $VDEV2 $VDEV3 $VDEV4" \
+       "$VDEV1" "$VDEV5" \
+       "draid $VDEV0 $VDEV5 $VDEV2 $VDEV3 $VDEV4 spares draid1-0-0" \
+       "$VDEV0 $VDEV1 $VDEV2 $VDEV3 $VDEV4" \
+       true 30
+
 set_zfs_txg_timeout $ZFS_TXG_TIMEOUT
 
 log_pass "zpool import -c cachefile_unaware_of_replace passed."