Home
last modified time | relevance | path

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

123

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dimport_cachefile_device_added.ksh63 test_add_vdevs "$VDEV0" "$VDEV1" "$VDEV0 $VDEV1"
64 test_add_vdevs "$VDEV0 $VDEV1" "$VDEV2" "$VDEV0 $VDEV1 $VDEV2"
65 test_add_vdevs "$VDEV0" "$VDEV1 $VDEV2" "$VDEV0 $VDEV1 $VDEV2"
66 test_add_vdevs "$VDEV0" "mirror $VDEV1 $VDEV2" \
67 "$VDEV0 mirror $VDEV1 $VDEV2"
68 test_add_vdevs "mirror $VDEV0 $VDEV1" "mirror $VDEV2 $VDEV3" \
69 "mirror $VDEV0 $VDEV1 mirror $VDEV2 $VDEV3"
70 test_add_vdevs "$VDEV0" "raidz $VDEV1 $VDEV2 $VDEV3" \
71 "$VDEV0 raidz $VDEV1 $VDEV2 $VDEV3"
72 test_add_vdevs "$VDEV0" "draid $VDEV1 $VDEV2 $VDEV3" \
[all …]
H A Dimport_cachefile_paths_changed.ksh105 test_new_paths "$VDEV0 $VDEV1" "$VDEV0 $VDEV1"
106 test_new_paths "mirror $VDEV0 $VDEV1" "$VDEV0 $VDEV1"
107 test_new_paths "$VDEV0 log $VDEV1" "$VDEV0 $VDEV1"
108 test_new_paths "raidz $VDEV0 $VDEV1 $VDEV2" "$VDEV0 $VDEV1 $VDEV2"
109 test_new_paths "draid $VDEV0 $VDEV1 $VDEV2" "$VDEV0 $VDEV1 $VDEV2"
111 test_duplicate_pools "$VDEV0 $VDEV1" "$VDEV0 $VDEV1"
112 test_duplicate_pools "mirror $VDEV0 $VDEV1" "$VDEV0 $VDEV1"
113 test_duplicate_pools "$VDEV0 log $VDEV1" "$VDEV0 $VDEV1"
114 test_duplicate_pools "raidz $VDEV0 $VDEV1 $VDEV2" "$VDEV0 $VDEV1 $VDEV2"
115 test_duplicate_pools "draid $VDEV0 $VDEV1 $VDEV2" "$VDEV0 $VDEV1 $VDEV2"
H A Dimport_rewind_config_changed.ksh150 log_must zpool create -f $TESTPOOL2 $VDEV0 $VDEV1 $VDEV2 $VDEV3 $VDEV4
250 typeset pathstochange="$VDEV0 $VDEV1 $VDEV2 $VDEV3"
254 test_add_vdevs "$VDEV0" "$VDEV1"
255 test_add_vdevs "$VDEV0 $VDEV1" "$VDEV2"
256 test_add_vdevs "$VDEV0" "$VDEV1 $VDEV2"
257 test_add_vdevs "mirror $VDEV0 $VDEV1" "mirror $VDEV2 $VDEV3"
258 test_add_vdevs "$VDEV0" "raidz $VDEV1 $VDEV2 $VDEV3"
259 test_add_vdevs "$VDEV0" "draid $VDEV1 $VDEV2 $VDEV3"
260 test_add_vdevs "$VDEV0" "log $VDEV1"
261 test_add_vdevs "$VDEV0 log $VDEV1" "$VDEV2"
[all …]
H A Dimport_paths_changed.ksh88 test_new_paths "$VDEV0 $VDEV1" "$VDEV0 $VDEV1"
89 test_new_paths "mirror $VDEV0 $VDEV1" "$VDEV0 $VDEV1"
90 test_new_paths "$VDEV0 log $VDEV1" "$VDEV1"
91 test_new_paths "raidz $VDEV0 $VDEV1 $VDEV2" "$VDEV1"
92 test_new_paths "draid $VDEV0 $VDEV1 $VDEV2" "$VDEV1"
94 test_swap_paths "$VDEV0 $VDEV1" "$VDEV0" "$VDEV1"
95 test_swap_paths "raidz $VDEV0 $VDEV1 $VDEV2" "$VDEV0" "$VDEV1"
96 test_swap_paths "draid $VDEV0 $VDEV1 $VDEV2" "$VDEV0" "$VDEV1"
97 test_swap_paths "mirror $VDEV0 $VDEV1 mirror $VDEV2 $VDEV3" \
98 "$VDEV0" "$VDEV2"
H A Dimport_cachefile_device_removed.ksh80 $VDEV0 $VDEV1 $VDEV2 $VDEV3 $VDEV4
86 "$VDEV0 $VDEV1 $VDEV2 $VDEV3"
88 log_must wait_for_pool_config $TESTPOOL1 "$VDEV0 $VDEV1 $VDEV2"
94 log_must check_pool_config $TESTPOOL1 "$VDEV0 $VDEV1 $VDEV2"
112 $VDEV0 $VDEV1 $VDEV2 log $VDEV3
117 log_must wait_for_pool_config $TESTPOOL1 "$VDEV0 $VDEV2 log $VDEV3"
119 log_must check_pool_config $TESTPOOL1 "$VDEV0 $VDEV2"
126 log_must check_pool_config $TESTPOOL1 "$VDEV0 $VDEV2 $VDEV4"
136 test_remove_vdev "$VDEV0 $VDEV1 $VDEV2" "$VDEV2" "$VDEV0 $VDEV1"
137 test_remove_vdev "$VDEV0 $VDEV1 $VDEV2" "$VDEV1" "$VDEV0 $VDEV2"
[all …]
H A Dimport_cachefile_mirror_attached.ksh64 test_attach_vdev "$VDEV0" "$VDEV0" "$VDEV4" "mirror $VDEV0 $VDEV4"
65 test_attach_vdev "$VDEV0 $VDEV1" "$VDEV1" "$VDEV4" \
66 "$VDEV0 mirror $VDEV1 $VDEV4"
67 test_attach_vdev "mirror $VDEV0 $VDEV1" "$VDEV0" "$VDEV4" \
68 "mirror $VDEV0 $VDEV1 $VDEV4"
69 test_attach_vdev "$VDEV0 log $VDEV1" "$VDEV1" "$VDEV4" \
70 "$VDEV0 log mirror $VDEV1 $VDEV4"
H A Dimport_rewind_device_replaced.ksh147 log_must zpool create -f $TESTPOOL2 $VDEV0 $VDEV1 $VDEV2 $VDEV3 $VDEV4
164 test_replace_vdev "$VDEV0 $VDEV1" \
166 "$VDEV0 $VDEV2" \
167 "$VDEV0 $VDEV1" 15
169 test_replace_vdev "mirror $VDEV0 $VDEV1" \
171 "mirror $VDEV0 $VDEV2" \
172 "$VDEV0 $VDEV1" 10
174 test_replace_vdev "raidz $VDEV0 $VDEV1 $VDEV2" \
176 "raidz $VDEV0 $VDEV3 $VDEV2" \
177 "$VDEV0 $VDEV1 $VDEV2" 10
[all …]
H A Dimport_cachefile_device_replaced.ksh140 test_replacing_vdevs "$VDEV0 $VDEV1" \
142 "$VDEV0 $VDEV2" \
143 "$VDEV0 $VDEV1" \
146 test_replacing_vdevs "mirror $VDEV0 $VDEV1" \
148 "mirror $VDEV0 $VDEV2" \
149 "$VDEV0 $VDEV1" \
152 test_replacing_vdevs "raidz $VDEV0 $VDEV1 $VDEV2" \
154 "raidz $VDEV0 $VDEV3 $VDEV2" \
155 "$VDEV0 $VDEV1 $VDEV2" \
158 test_replacing_vdevs "draid:1s $VDEV0 $VDEV1 $VDEV2 $VDEV3 $VDEV4" \
[all …]
H A Dimport_cachefile_mirror_detached.ksh64 test_detach_vdev "mirror $VDEV0 $VDEV4" "$VDEV0"
65 test_detach_vdev "mirror $VDEV0 $VDEV4 mirror $VDEV1 $VDEV2" \
66 "$VDEV0 mirror $VDEV1 $VDEV2"
67 test_detach_vdev "mirror $VDEV0 $VDEV1 $VDEV4" "mirror $VDEV0 $VDEV1"
68 test_detach_vdev "$VDEV0 log mirror $VDEV1 $VDEV4" "$VDEV0 log $VDEV1"
H A Dzpool_import_015_pos.ksh36 log_must rm $VDEV0 $VDEV1
37 log_must truncate -s $FILE_SIZE $VDEV0 $VDEV1
43 log_must zpool create $TESTPOOL1 $VDEV0 $VDEV1
46 log_must zpool import -d $VDEV0 -d $VDEV1 $TESTPOOL1
51 log_must ln -s $VDEV0 $DEVICE_DIR/test_dir/disk
H A Dzpool_import_007_pos.ksh66 log_must zpool create $TESTPOOL1 raidz $VDEV0 $VDEV1 $VDEV2 $VDEV3
75 log_must zpool create $TESTPOOL2 $VDEV0
80 log_must rm -rf $VDEV0
85 log_must mkfile $FILE_SIZE $VDEV0
86 log_must zpool create $TESTPOOL2 $VDEV0 $VDEV1
H A Dzpool_import_016_pos.ksh67 log_must zpool create $TESTPOOL1 draid $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_008_pos.ksh66 log_must zpool create $TESTPOOL1 raidz2 $VDEV0 $VDEV1 $VDEV2 $VDEV3
75 log_must zpool create $TESTPOOL2 $VDEV0 $VDEV1
80 log_must rm -rf $VDEV0 $VDEV1
86 log_must mkfile $FILE_SIZE $VDEV0 $VDEV1
87 log_must zpool create $TESTPOOL2 $VDEV0 $VDEV1 $VDEV2
H A Dzpool_import_017_pos.ksh67 log_must zpool create $TESTPOOL1 draid2 $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.ksh101 test_shared_device "mirror $VDEV0 $VDEV1" "mirror $VDEV1 $VDEV2" "$VDEV1"
102 test_shared_device "mirror $VDEV0 $VDEV1 $VDEV2" "mirror $VDEV2 $VDEV3" \
104 test_shared_device "raidz $VDEV0 $VDEV1 $VDEV2" "$VDEV2" "$VDEV2"
105 test_shared_device "draid $VDEV0 $VDEV1 $VDEV2" "$VDEV2" "$VDEV2"
106 test_shared_device "$VDEV0 log $VDEV1" "$VDEV2 log $VDEV1" "$VDEV1" "-m"
H A Dimport_devices_missing.ksh109 test_devices_missing "$VDEV0" "$VDEV1" "$VDEV1" 1
110 test_devices_missing "$VDEV0" "$VDEV1 $VDEV2" "$VDEV1" 1
111 test_devices_missing "mirror $VDEV0 $VDEV1" "mirror $VDEV2 $VDEV3" \
113 test_devices_missing "$VDEV0 log $VDEV1" "$VDEV2" "$VDEV2" 1
120 test_devices_missing "$VDEV0" "$VDEV1 $VDEV2 $VDEV3" "$VDEV1 $VDEV3" 2
H A Dzpool_import_003_pos.ksh51 log_must rm $VDEV0 $VDEV1
52 log_must mkfile $FILE_SIZE $VDEV0 $VDEV1
58 log_must zpool create $TESTPOOL1 $VDEV0 $VDEV1
H A Dzpool_import_encrypted_load.ksh42 log_must rm $VDEV0
43 log_must mkfile $FILE_SIZE $VDEV0
51 "-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.ksh50 [[ -f $VDEV0 ]] && log_must rm -f $VDEV0
59 VDEV0=$mntpnt/vdev0
60 log_must mkfile $MINVDEVSIZE $VDEV0
63 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