Home
last modified time | relevance | path

Searched refs:VDEV1 (Results 1 – 25 of 33) sorted by relevance

12

/f-stack/freebsd/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"
69 "mirror $VDEV0 $VDEV1 mirror $VDEV2 $VDEV3"
71 "$VDEV0 raidz $VDEV1 $VDEV2 $VDEV3"
73 "$VDEV0 draid $VDEV1 $VDEV2 $VDEV3"
74 test_add_vdevs "$VDEV0" "log $VDEV1" "$VDEV0 log $VDEV1"
75 test_add_vdevs "$VDEV0 log $VDEV1" "$VDEV2" "$VDEV0 $VDEV2 log $VDEV1"
[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" \
H A Dimport_rewind_config_changed.ksh218 test_add_vdevs "$VDEV0" "$VDEV1"
219 test_add_vdevs "$VDEV0 $VDEV1" "$VDEV2"
220 test_add_vdevs "$VDEV0" "$VDEV1 $VDEV2"
224 test_add_vdevs "$VDEV0" "log $VDEV1"
225 test_add_vdevs "$VDEV0 log $VDEV1" "$VDEV2"
229 test_attach_vdev "$VDEV0" "$VDEV0" "$VDEV1"
231 test_attach_vdev "$VDEV0 $VDEV1" "$VDEV0" "$VDEV2"
238 test_remove_vdev "$VDEV0 $VDEV1 $VDEV2" "$VDEV1" "$VDEV0 $VDEV2"
248 test_detach_vdev "mirror $VDEV0 $VDEV1" "$VDEV1"
249 test_detach_vdev "mirror $VDEV0 $VDEV1 mirror $VDEV2 $VDEV3" "$VDEV1"
[all …]
H A Dimport_cachefile_device_removed.ksh80 $VDEV0 $VDEV1 $VDEV2 $VDEV3 $VDEV4
86 "$VDEV0 $VDEV1 $VDEV2 $VDEV3"
112 $VDEV0 $VDEV1 $VDEV2 log $VDEV3
116 log_must zpool remove $TESTPOOL1 $VDEV1
120 log_must rm $VDEV1 $VDEV3
131 log_must mkfile $FILE_SIZE $VDEV1 $VDEV3
136 test_remove_vdev "$VDEV0 $VDEV1 $VDEV2" "$VDEV2" "$VDEV0 $VDEV1"
137 test_remove_vdev "$VDEV0 $VDEV1 $VDEV2" "$VDEV1" "$VDEV0 $VDEV2"
138 test_remove_vdev "$VDEV0 log $VDEV1" "$VDEV1" "$VDEV0"
139 test_remove_vdev "$VDEV0 log $VDEV1 $VDEV2" "$VDEV1 $VDEV2" "$VDEV0"
[all …]
H A Dimport_cachefile_device_replaced.ksh140 test_replacing_vdevs "$VDEV0 $VDEV1" \
141 "$VDEV1" "$VDEV2" \
143 "$VDEV0 $VDEV1" \
146 test_replacing_vdevs "mirror $VDEV0 $VDEV1" \
147 "$VDEV1" "$VDEV2" \
149 "$VDEV0 $VDEV1" \
152 test_replacing_vdevs "raidz $VDEV0 $VDEV1 $VDEV2" \
153 "$VDEV1" "$VDEV3" \
155 "$VDEV0 $VDEV1 $VDEV2" \
159 "$VDEV1" "$VDEV5" \
[all …]
H A Dimport_rewind_device_replaced.ksh164 test_replace_vdev "$VDEV0 $VDEV1" \
165 "$VDEV1" "$VDEV2" \
167 "$VDEV0 $VDEV1" 15
169 test_replace_vdev "mirror $VDEV0 $VDEV1" \
170 "$VDEV1" "$VDEV2" \
172 "$VDEV0 $VDEV1" 10
174 test_replace_vdev "raidz $VDEV0 $VDEV1 $VDEV2" \
175 "$VDEV1" "$VDEV3" \
177 "$VDEV0 $VDEV1 $VDEV2" 10
180 "$VDEV1" "$VDEV4" \
[all …]
H A Dimport_cachefile_shared_device.ksh107 test_shared_device "mirror $VDEV0 $VDEV1" "mirror $VDEV1 $VDEV2" "$VDEV1"
108 test_shared_device "mirror $VDEV0 $VDEV1 $VDEV2" "mirror $VDEV2 $VDEV3" \
110 test_shared_device "raidz $VDEV0 $VDEV1 $VDEV2" "$VDEV2" "$VDEV2"
111 test_shared_device "draid $VDEV0 $VDEV1 $VDEV2" "$VDEV2" "$VDEV2"
112 test_shared_device "$VDEV0 log $VDEV1" "$VDEV2 log $VDEV1" "$VDEV1" "-m"
H A Dimport_cachefile_mirror_attached.ksh65 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_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 Dimport_cachefile_mirror_detached.ksh65 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
52 log_must zpool import -d $DEVICE_DIR/test_dir -d $VDEV1 $TESTPOOL1
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 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_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_011_neg.ksh58 log_must rm -rf $VDEV0 $VDEV1 $VDEV2
59 log_must mkfile $FILE_SIZE $VDEV0 $VDEV1 $VDEV2
66 log_must zpool create $TESTPOOL1 $VDEV0 $VDEV1 $VDEV2
H A Dzpool_import_016_pos.ksh67 log_must zpool create $TESTPOOL1 draid $VDEV0 $VDEV1 $VDEV2 $VDEV3
87 log_must zpool create $TESTPOOL2 $VDEV0 $VDEV1
H A Dzpool_import_007_pos.ksh66 log_must zpool create $TESTPOOL1 raidz $VDEV0 $VDEV1 $VDEV2 $VDEV3
86 log_must zpool create $TESTPOOL2 $VDEV0 $VDEV1
H A Dzpool_import_004_pos.ksh65 log_must zpool create $TESTPOOL1 $VDEV0 $VDEV1 $VDEV2
76 log_must mv $VDEV1 $DEVICE_DIR/newdir1
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/bootfs/
H A Dbootfs_006_pos.ksh53 VDEV1=$TESTDIR/bootfs_006_pos_a.$$.dat
91 log_must rm $VDEV1 $VDEV2 $VDEV3 $VDEV4
99 log_must mkfile $MINVDEVSIZE $VDEV1 $VDEV2 $VDEV3 $VDEV4
105 log_must zpool create $TESTPOOL $VDEV1
109 log_must zpool create $TESTPOOL $VDEV1 spare $VDEV2
113 log_must zpool create $TESTPOOL mirror $VDEV1 $VDEV2
122 log_must zpool create $TESTPOOL $VDEV1 $VDEV2
126 log_must zpool create $TESTPOOL $VDEV1 $VDEV2 spare $VDEV3
132 log_must zpool create $TESTPOOL $VDEV1 $VDEV2
136 log_must zpool create $TESTPOOL $VDEV1 $VDEV2 spare $VDEV3
[all …]
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/events/
H A Devents_001_pos.ksh47 for file in $VDEV1 $VDEV2 $VDEV3 $VDEV4; do
57 log_must truncate -s $MINVDEVSIZE $VDEV1 $VDEV2 $VDEV3 $VDEV4
67 "zpool create $MPOOL mirror $VDEV1 $VDEV2"
96 "zpool offline $MPOOL $VDEV1"
104 "zpool online $MPOOL $VDEV1"
113 "zpool attach $MPOOL $VDEV1 $VDEV4"
127 "zpool replace -f $MPOOL $VDEV1 $VDEV4"
H A Devents_002_pos.ksh49 for file in $VDEV1 $VDEV2; do
60 log_must truncate -s $MINVDEVSIZE $VDEV1 $VDEV2
65 log_must zpool create $MPOOL mirror $VDEV1 $VDEV2
82 log_must zpool offline $MPOOL $VDEV1
83 log_must zpool online $MPOOL $VDEV1
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/history/
H A Dhistory_001_pos.ksh53 for file in $VDEV1 $VDEV2 $VDEV3 $VDEV4; do
63 VDEV1=$mntpnt/vdev1; VDEV2=$mntpnt/vdev2;
66 log_must mkfile $MINVDEVSIZE $VDEV1 $VDEV2 $VDEV3
69 run_and_verify -p "$MPOOL" "zpool create $MPOOL mirror $VDEV1 $VDEV2"
72 run_and_verify -p "$MPOOL" "zpool offline $MPOOL $VDEV1"
73 run_and_verify -p "$MPOOL" "zpool online $MPOOL $VDEV1"
74 run_and_verify -p "$MPOOL" "zpool attach $MPOOL $VDEV1 $VDEV4"
76 run_and_verify -p "$MPOOL" "zpool replace -f $MPOOL $VDEV1 $VDEV4"
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_wait/
H A Dzpool_wait_trim_flag.ksh48 typeset -r VDEV1="$TESTDIR/file_vdev1"
55 log_must truncate -s 10G "$VDEV1" "$VDEV2" "$VDEV3"
56 log_must zpool create -f $TESTPOOL "$VDEV1" "$VDEV2" "$VDEV3"
58 log_bkgrnd zpool trim -r 1M -w $TESTPOOL "$VDEV1" "$VDEV2"
72 log_must zpool trim -c $TESTPOOL "$VDEV1"
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_events/
H A Dzpool_events_errors.ksh43 VDEV1=$TEST_BASE_DIR/file1
61 log_must rm -f $VDEV1 $VDEV2 $VDEV3
72 log_must truncate -s $MINVDEVSIZE $VDEV1 $VDEV2 $VDEV3
87 log_must zpool create -f -m $MOUNTDIR -o failmode=continue $POOL $POOLTYPE $VDEV1 $VDEV2 $VDEV3
95 log_must zinject -d $VDEV1 -e $ERR -T $RW -f 100 $POOL
114 out="$(zpool status -p | grep $VDEV1)"
H A Dzpool_events_duplicates.ksh42 VDEV1=$TEST_BASE_DIR/vfile1
61 log_must rm -f $VDEV1 $VDEV2
72 log_must truncate -s $MINVDEVSIZE $VDEV1 $VDEV2
84 log_must zpool create -f -m $MOUNTDIR -o failmode=continue $POOL mirror $VDEV1 $VDEV2
112 log_must zinject -d $VDEV1 -e $ERR -T $RW -f 100 $POOL

12