Home
last modified time | relevance | path

Searched refs:VDEV1 (Results 1 – 25 of 55) 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_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.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_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
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"
[all …]
H A Dimport_rewind_device_replaced.ksh147 log_must zpool create -f $TESTPOOL2 $VDEV0 $VDEV1 $VDEV2 $VDEV3 $VDEV4
164 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
[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" \
158 test_replacing_vdevs "draid:1s $VDEV0 $VDEV1 $VDEV2 $VDEV3 $VDEV4" \
[all …]
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_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_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
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/bootfs/
H A Dbootfs_006_pos.ksh47 VDEV1=$TESTDIR/bootfs_006_pos_a.$$.dat
85 log_must rm $VDEV1 $VDEV2 $VDEV3 $VDEV4
93 log_must mkfile $MINVDEVSIZE $VDEV1 $VDEV2 $VDEV3 $VDEV4
99 log_must zpool create $TESTPOOL $VDEV1
103 log_must zpool create $TESTPOOL $VDEV1 spare $VDEV2
107 log_must zpool create $TESTPOOL mirror $VDEV1 $VDEV2
111 log_must zpool create $TESTPOOL mirror $VDEV1 $VDEV2 spare $VDEV3
116 log_must zpool create $TESTPOOL $VDEV1 $VDEV2
120 log_must zpool create $TESTPOOL $VDEV1 $VDEV2 spare $VDEV3
126 log_must zpool create $TESTPOOL $VDEV1 $VDEV2
[all …]
/freebsd/tests/sys/cddl/zfs/tests/bootfs/
H A Dbootfs_006_pos.ksh61 VDEV1=$TMPDIR/bootfs_006_pos_a.${TESTCASE_ID}.dat
101 log_must $RM $VDEV1 $VDEV2 $VDEV3 $VDEV4
109 log_must create_vdevs $VDEV1 $VDEV2 $VDEV3 $VDEV4
115 log_must $ZPOOL create $TESTPOOL $VDEV1
119 log_must $ZPOOL create $TESTPOOL $VDEV1 spare $VDEV2
123 log_must $ZPOOL create $TESTPOOL mirror $VDEV1 $VDEV2
127 log_must $ZPOOL create $TESTPOOL mirror $VDEV1 $VDEV2 spare $VDEV3
134 log_must $ZPOOL create $TESTPOOL $VDEV1 $VDEV2
138 log_must $ZPOOL create $TESTPOOL $VDEV1 $VDEV2 spare $VDEV3
142 log_must $ZPOOL create $TESTPOOL raidz $VDEV1 $VDEV2
[all …]
/freebsd/sys/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.ksh46 log_must rm -f $VDEV1 $VDEV2 $TMP_EVENTS_ZED
53 log_must truncate -s $MINVDEVSIZE $VDEV1 $VDEV2
58 log_must zpool create -O compression=off $MPOOL mirror $VDEV1 $VDEV2
74 log_must zpool offline $MPOOL $VDEV1
75 log_must zpool online $MPOOL $VDEV1
/freebsd/tests/sys/cddl/zfs/tests/history/
H A Dhistory_001_pos.ksh66 $VDEV1 $VDEV2 $VDEV3 $VDEV4
76 VDEV1=$TMPDIR/vdev1; VDEV2=$TMPDIR/vdev2;
79 log_must create_vdevs $VDEV1 $VDEV2 $VDEV3 $VDEV4
82 exec_record $ZPOOL create $MPOOL mirror $VDEV1 $VDEV2
85 exec_record $ZPOOL offline $MPOOL $VDEV1
86 exec_record $ZPOOL online $MPOOL $VDEV1
87 exec_record $ZPOOL attach $MPOOL $VDEV1 $VDEV4
89 exec_record $ZPOOL replace -f $MPOOL $VDEV1 $VDEV4
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_events/
H A Dzpool_events_clear_retained.ksh46 VDEV1=$TEST_BASE_DIR/vfile1
67 log_must rm -fd $VDEV1 $VDEV2 $VDEV3 $SUPPLY $MOUNTDIR
72 log_must zpool clear $POOL $VDEV1
75 log_note injecting damage to $VDEV1
76 log_must dd conv=notrunc if=$SUPPLY of=$VDEV1 bs=1M seek=4 count=$DAMAGEBLKS
91 zpool status -p $POOL | awk -v dev=$VDEV1 '$0 ~ dev {print $5}'
105 log_must truncate -s $MINVDEVSIZE $VDEV1 $VDEV2 $VDEV3
108 log_must zpool create -f -m $MOUNTDIR -o failmode=continue $POOL raidz $VDEV1 $VDEV2 $VDEV3
H A Dzpool_events_errors.ksh44 VDEV1=$TEST_BASE_DIR/file1
62 log_must rm -fd $VDEV1 $VDEV2 $VDEV3 $MOUNTDIR
73 log_must truncate -s $MINVDEVSIZE $VDEV1 $VDEV2 $VDEV3
88 log_must zpool create -f -m $MOUNTDIR -o failmode=continue $POOL $POOLTYPE $VDEV1 $VDEV2 $VDEV3
96 log_must zinject -d $VDEV1 -e $ERR -T $RW -f 100 $POOL
115 out="$(zpool status -p | grep $VDEV1)"
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/history/
H A Dhistory_001_pos.ksh53 for file in $VDEV1 $VDEV2 $VDEV3 $VDEV4; do
62 VDEV1=$mntpnt/vdev1; VDEV2=$mntpnt/vdev2;
65 log_must mkfile $MINVDEVSIZE $VDEV1 $VDEV2 $VDEV3
68 run_and_verify -p "$MPOOL" "zpool create $MPOOL mirror $VDEV1 $VDEV2"
71 run_and_verify -p "$MPOOL" "zpool offline $MPOOL $VDEV1"
72 run_and_verify -p "$MPOOL" "zpool online $MPOOL $VDEV1"
73 run_and_verify -p "$MPOOL" "zpool attach $MPOOL $VDEV1 $VDEV4"
75 run_and_verify -p "$MPOOL" "zpool replace -f $MPOOL $VDEV1 $VDEV4"
/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
/freebsd/sys/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"
/freebsd/tests/sys/cddl/zfs/tests/zfsd/
H A Dzfsd_degrade_001_pos.ksh62 VDEV1=${TMPDIR}/file1.${TESTCASE_ID}
63 VDEVS="${VDEV0} ${VDEV1}"
78 log_must create_vdevs $VDEV0 $VDEV1
84 corrupt_pool_vdev $TESTPOOL $VDEV1 $TESTFILE

123