Home
last modified time | relevance | path

Searched refs:VDEV0 (Results 1 – 25 of 52) sorted by relevance

123

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dimport_cachefile_device_added.ksh64 test_add_vdevs "$VDEV0" "$VDEV1" "$VDEV0 $VDEV1"
65 test_add_vdevs "$VDEV0 $VDEV1" "$VDEV2" "$VDEV0 $VDEV1 $VDEV2"
66 test_add_vdevs "$VDEV0" "$VDEV1 $VDEV2" "$VDEV0 $VDEV1 $VDEV2"
67 test_add_vdevs "$VDEV0" "mirror $VDEV1 $VDEV2" \
68 "$VDEV0 mirror $VDEV1 $VDEV2"
69 test_add_vdevs "mirror $VDEV0 $VDEV1" "mirror $VDEV2 $VDEV3" \
70 "mirror $VDEV0 $VDEV1 mirror $VDEV2 $VDEV3"
71 test_add_vdevs "$VDEV0" "raidz $VDEV1 $VDEV2 $VDEV3" \
72 "$VDEV0 raidz $VDEV1 $VDEV2 $VDEV3"
73 test_add_vdevs "$VDEV0" "draid $VDEV1 $VDEV2 $VDEV3" \
[all …]
H A Dimport_cachefile_paths_changed.ksh106 test_new_paths "$VDEV0 $VDEV1" "$VDEV0 $VDEV1"
107 test_new_paths "mirror $VDEV0 $VDEV1" "$VDEV0 $VDEV1"
108 test_new_paths "$VDEV0 log $VDEV1" "$VDEV0 $VDEV1"
109 test_new_paths "raidz $VDEV0 $VDEV1 $VDEV2" "$VDEV0 $VDEV1 $VDEV2"
110 test_new_paths "draid $VDEV0 $VDEV1 $VDEV2" "$VDEV0 $VDEV1 $VDEV2"
112 test_duplicate_pools "$VDEV0 $VDEV1" "$VDEV0 $VDEV1"
113 test_duplicate_pools "mirror $VDEV0 $VDEV1" "$VDEV0 $VDEV1"
114 test_duplicate_pools "$VDEV0 log $VDEV1" "$VDEV0 $VDEV1"
115 test_duplicate_pools "raidz $VDEV0 $VDEV1 $VDEV2" "$VDEV0 $VDEV1 $VDEV2"
116 test_duplicate_pools "draid $VDEV0 $VDEV1 $VDEV2" "$VDEV0 $VDEV1 $VDEV2"
H A Dimport_rewind_config_changed.ksh151 log_must zpool create -f $TESTPOOL2 $VDEV0 $VDEV1 $VDEV2 $VDEV3 $VDEV4
251 typeset pathstochange="$VDEV0 $VDEV1 $VDEV2 $VDEV3"
255 test_add_vdevs "$VDEV0" "$VDEV1"
256 test_add_vdevs "$VDEV0 $VDEV1" "$VDEV2"
257 test_add_vdevs "$VDEV0" "$VDEV1 $VDEV2"
258 test_add_vdevs "mirror $VDEV0 $VDEV1" "mirror $VDEV2 $VDEV3"
259 test_add_vdevs "$VDEV0" "raidz $VDEV1 $VDEV2 $VDEV3"
260 test_add_vdevs "$VDEV0" "draid $VDEV1 $VDEV2 $VDEV3"
261 test_add_vdevs "$VDEV0" "log $VDEV1"
262 test_add_vdevs "$VDEV0 log $VDEV1" "$VDEV2"
[all …]
H A Dimport_paths_changed.ksh89 test_new_paths "$VDEV0 $VDEV1" "$VDEV0 $VDEV1"
90 test_new_paths "mirror $VDEV0 $VDEV1" "$VDEV0 $VDEV1"
91 test_new_paths "$VDEV0 log $VDEV1" "$VDEV1"
92 test_new_paths "raidz $VDEV0 $VDEV1 $VDEV2" "$VDEV1"
93 test_new_paths "draid $VDEV0 $VDEV1 $VDEV2" "$VDEV1"
95 test_swap_paths "$VDEV0 $VDEV1" "$VDEV0" "$VDEV1"
96 test_swap_paths "raidz $VDEV0 $VDEV1 $VDEV2" "$VDEV0" "$VDEV1"
97 test_swap_paths "draid $VDEV0 $VDEV1 $VDEV2" "$VDEV0" "$VDEV1"
98 test_swap_paths "mirror $VDEV0 $VDEV1 mirror $VDEV2 $VDEV3" \
99 "$VDEV0" "$VDEV2"
H A Dimport_cachefile_device_removed.ksh81 $VDEV0 $VDEV1 $VDEV2 $VDEV3 $VDEV4
87 "$VDEV0 $VDEV1 $VDEV2 $VDEV3"
89 log_must wait_for_pool_config $TESTPOOL1 "$VDEV0 $VDEV1 $VDEV2"
95 log_must check_pool_config $TESTPOOL1 "$VDEV0 $VDEV1 $VDEV2"
113 $VDEV0 $VDEV1 $VDEV2 log $VDEV3
118 log_must wait_for_pool_config $TESTPOOL1 "$VDEV0 $VDEV2 log $VDEV3"
120 log_must check_pool_config $TESTPOOL1 "$VDEV0 $VDEV2"
127 log_must check_pool_config $TESTPOOL1 "$VDEV0 $VDEV2 $VDEV4"
137 test_remove_vdev "$VDEV0 $VDEV1 $VDEV2" "$VDEV2" "$VDEV0 $VDEV1"
138 test_remove_vdev "$VDEV0 $VDEV1 $VDEV2" "$VDEV1" "$VDEV0 $VDEV2"
[all …]
H A Dimport_cachefile_mirror_attached.ksh65 test_attach_vdev "$VDEV0" "$VDEV0" "$VDEV4" "mirror $VDEV0 $VDEV4"
66 test_attach_vdev "$VDEV0 $VDEV1" "$VDEV1" "$VDEV4" \
67 "$VDEV0 mirror $VDEV1 $VDEV4"
68 test_attach_vdev "mirror $VDEV0 $VDEV1" "$VDEV0" "$VDEV4" \
69 "mirror $VDEV0 $VDEV1 $VDEV4"
70 test_attach_vdev "$VDEV0 log $VDEV1" "$VDEV1" "$VDEV4" \
71 "$VDEV0 log mirror $VDEV1 $VDEV4"
H A Dimport_rewind_device_replaced.ksh148 log_must zpool create -f $TESTPOOL2 $VDEV0 $VDEV1 $VDEV2 $VDEV3 $VDEV4
165 test_replace_vdev "$VDEV0 $VDEV1" \
167 "$VDEV0 $VDEV2" \
168 "$VDEV0 $VDEV1" 15
170 test_replace_vdev "mirror $VDEV0 $VDEV1" \
172 "mirror $VDEV0 $VDEV2" \
173 "$VDEV0 $VDEV1" 10
175 test_replace_vdev "raidz $VDEV0 $VDEV1 $VDEV2" \
177 "raidz $VDEV0 $VDEV3 $VDEV2" \
178 "$VDEV0 $VDEV1 $VDEV2" 10
[all …]
H A Dimport_cachefile_device_replaced.ksh141 test_replacing_vdevs "$VDEV0 $VDEV1" \
143 "$VDEV0 $VDEV2" \
144 "$VDEV0 $VDEV1" \
147 test_replacing_vdevs "mirror $VDEV0 $VDEV1" \
149 "mirror $VDEV0 $VDEV2" \
150 "$VDEV0 $VDEV1" \
153 test_replacing_vdevs "raidz $VDEV0 $VDEV1 $VDEV2" \
155 "raidz $VDEV0 $VDEV3 $VDEV2" \
156 "$VDEV0 $VDEV1 $VDEV2" \
159 test_replacing_vdevs "draid:1s $VDEV0 $VDEV1 $VDEV2 $VDEV3 $VDEV4" \
[all …]
H A Dimport_cachefile_mirror_detached.ksh65 test_detach_vdev "mirror $VDEV0 $VDEV4" "$VDEV0"
66 test_detach_vdev "mirror $VDEV0 $VDEV4 mirror $VDEV1 $VDEV2" \
67 "$VDEV0 mirror $VDEV1 $VDEV2"
68 test_detach_vdev "mirror $VDEV0 $VDEV1 $VDEV4" "mirror $VDEV0 $VDEV1"
69 test_detach_vdev "$VDEV0 log mirror $VDEV1 $VDEV4" "$VDEV0 log $VDEV1"
H A Dzpool_import_015_pos.ksh37 log_must rm $VDEV0 $VDEV1
38 log_must truncate -s $FILE_SIZE $VDEV0 $VDEV1
44 log_must zpool create $TESTPOOL1 $VDEV0 $VDEV1
47 log_must zpool import -d $VDEV0 -d $VDEV1 $TESTPOOL1
52 log_must ln -s $VDEV0 $DEVICE_DIR/test_dir/disk
H A Dzpool_import_007_pos.ksh67 log_must zpool create $TESTPOOL1 raidz $VDEV0 $VDEV1 $VDEV2 $VDEV3
76 log_must zpool create $TESTPOOL2 $VDEV0
81 log_must rm -rf $VDEV0
86 log_must mkfile $FILE_SIZE $VDEV0
87 log_must zpool create $TESTPOOL2 $VDEV0 $VDEV1
H A Dzpool_import_016_pos.ksh68 log_must zpool create $TESTPOOL1 draid $VDEV0 $VDEV1 $VDEV2 $VDEV3
77 log_must zpool create $TESTPOOL2 $VDEV0
82 log_must rm -rf $VDEV0
87 log_must mkfile $FILE_SIZE $VDEV0
88 log_must zpool create $TESTPOOL2 $VDEV0 $VDEV1
H A Dzpool_import_017_pos.ksh68 log_must zpool create $TESTPOOL1 draid2 $VDEV0 $VDEV1 $VDEV2 $VDEV3
77 log_must zpool create $TESTPOOL2 $VDEV0 $VDEV1
82 log_must rm -rf $VDEV0 $VDEV1
88 log_must mkfile $FILE_SIZE $VDEV0 $VDEV1
89 log_must zpool create $TESTPOOL2 $VDEV0 $VDEV1 $VDEV2
H A Dzpool_import_008_pos.ksh67 log_must zpool create $TESTPOOL1 raidz2 $VDEV0 $VDEV1 $VDEV2 $VDEV3
76 log_must zpool create $TESTPOOL2 $VDEV0 $VDEV1
81 log_must rm -rf $VDEV0 $VDEV1
87 log_must mkfile $FILE_SIZE $VDEV0 $VDEV1
88 log_must zpool create $TESTPOOL2 $VDEV0 $VDEV1 $VDEV2
H A Dimport_cachefile_shared_device.ksh102 test_shared_device "mirror $VDEV0 $VDEV1" "mirror $VDEV1 $VDEV2" "$VDEV1"
103 test_shared_device "mirror $VDEV0 $VDEV1 $VDEV2" "mirror $VDEV2 $VDEV3" \
105 test_shared_device "raidz $VDEV0 $VDEV1 $VDEV2" "$VDEV2" "$VDEV2"
106 test_shared_device "draid $VDEV0 $VDEV1 $VDEV2" "$VDEV2" "$VDEV2"
107 test_shared_device "$VDEV0 log $VDEV1" "$VDEV2 log $VDEV1" "$VDEV1" "-m"
H A Dimport_devices_missing.ksh110 test_devices_missing "$VDEV0" "$VDEV1" "$VDEV1" 1
111 test_devices_missing "$VDEV0" "$VDEV1 $VDEV2" "$VDEV1" 1
112 test_devices_missing "mirror $VDEV0 $VDEV1" "mirror $VDEV2 $VDEV3" \
114 test_devices_missing "$VDEV0 log $VDEV1" "$VDEV2" "$VDEV2" 1
121 test_devices_missing "$VDEV0" "$VDEV1 $VDEV2 $VDEV3" "$VDEV1 $VDEV3" 2
H A Dzpool_import_003_pos.ksh52 log_must rm $VDEV0 $VDEV1
53 log_must mkfile $FILE_SIZE $VDEV0 $VDEV1
59 log_must zpool create $TESTPOOL1 $VDEV0 $VDEV1
H A Dzpool_import_encrypted_load.ksh43 log_must rm $VDEV0
44 log_must mkfile $FILE_SIZE $VDEV0
52 "-O keyformat=passphrase -O keylocation=prompt $TESTPOOL1 $VDEV0"
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_import/
H A Dzpool_import_008_pos.ksh77 log_must $ZPOOL create $TESTPOOL2 $VDEV0 $VDEV1
82 log_must $RM -rf $VDEV0 $VDEV1
88 log_must create_vdevs $VDEV0 $VDEV1
89 log_must $ZPOOL create $TESTPOOL2 $VDEV0 $VDEV1 $VDEV2
99 log_must $ZPOOL create $TESTPOOL1 raidz2 $VDEV0 $VDEV1 $VDEV2 $VDEV3
103 log_must $ZPOOL create $TESTPOOL1 raidz2 $VDEV0 $VDEV1 $VDEV2 $VDEV3
H A Dzpool_import_007_pos.ksh81 log_must $ZPOOL create $TESTPOOL2 $VDEV0
86 log_must $RM -rf $VDEV0
91 log_must create_vdevs $VDEV0
92 log_must $ZPOOL create $TESTPOOL2 $VDEV0 $VDEV1
98 log_must $ZPOOL create $TESTPOOL1 raidz $VDEV0 $VDEV1 $VDEV2 $VDEV3
102 log_must $ZPOOL create $TESTPOOL1 raidz $VDEV0 $VDEV1 $VDEV2 $VDEV3
H A Dzpool_import_004_pos.ksh79 log_must $MV $VDEV0 $DEVICE_DIR/newdir2
85 log_must $MV $DEVICE_DIR/newdir2/$VDEV0F $VDEV0
94 log_must $ZPOOL create $TESTPOOL1 $VDEV0 $VDEV1 $VDEV2
98 log_must $ZPOOL create $TESTPOOL1 $VDEV0 $VDEV1 $VDEV2
H A Dzpool_import_005_pos.ksh79 log_must $MV $VDEV0 $DEVICE_DIR/vdev0-new
93 log_must $MV $DEVICE_DIR/vdev0-new $VDEV0
99 log_must $ZPOOL create $TESTPOOL1 $VDEV0 $VDEV1 $VDEV2
103 log_must $ZPOOL create $TESTPOOL1 $VDEV0 $VDEV1 $VDEV2
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/history/
H A Dhistory_003_pos.ksh51 [[ -f $VDEV0 ]] && log_must rm -f $VDEV0
60 VDEV0=$mntpnt/vdev0
61 log_must mkfile $MINVDEVSIZE $VDEV0
64 log_must zpool create $spool $VDEV0
/freebsd/tests/sys/cddl/zfs/tests/zfsd/
H A Dzfsd_degrade_002_pos.ksh62 VDEV0=${TMPDIR}/file0.${TESTCASE_ID}
65 BASIC_VDEVS="${VDEV0} ${VDEV1}"
82 log_must create_vdevs $VDEV0 $VDEV1 $SPARE_VDEV
90 $ZINJECT -d ${VDEV0} -A fault $TESTPOOL
H A Dzfsd_degrade_001_pos.ksh61 VDEV0=${TMPDIR}/file0.${TESTCASE_ID}
63 VDEVS="${VDEV0} ${VDEV1}"
78 log_must create_vdevs $VDEV0 $VDEV1

123