Home
last modified time | relevance | path

Searched refs:VDEV1 (Results 1 – 25 of 57) 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_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" \
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_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
117 log_must zpool remove $TESTPOOL1 $VDEV1
121 log_must rm $VDEV1 $VDEV3
132 log_must mkfile $FILE_SIZE $VDEV1 $VDEV3
137 test_remove_vdev "$VDEV0 $VDEV1 $VDEV2" "$VDEV2" "$VDEV0 $VDEV1"
138 test_remove_vdev "$VDEV0 $VDEV1 $VDEV2" "$VDEV1" "$VDEV0 $VDEV2"
[all …]
H A Dimport_rewind_device_replaced.ksh148 log_must zpool create -f $TESTPOOL2 $VDEV0 $VDEV1 $VDEV2 $VDEV3 $VDEV4
165 test_replace_vdev "$VDEV0 $VDEV1" \
166 "$VDEV1" "$VDEV2" \
168 "$VDEV0 $VDEV1" 15
170 test_replace_vdev "mirror $VDEV0 $VDEV1" \
171 "$VDEV1" "$VDEV2" \
173 "$VDEV0 $VDEV1" 10
175 test_replace_vdev "raidz $VDEV0 $VDEV1 $VDEV2" \
176 "$VDEV1" "$VDEV3" \
178 "$VDEV0 $VDEV1 $VDEV2" 10
[all …]
H A Dimport_cachefile_device_replaced.ksh141 test_replacing_vdevs "$VDEV0 $VDEV1" \
142 "$VDEV1" "$VDEV2" \
144 "$VDEV0 $VDEV1" \
147 test_replacing_vdevs "mirror $VDEV0 $VDEV1" \
148 "$VDEV1" "$VDEV2" \
150 "$VDEV0 $VDEV1" \
153 test_replacing_vdevs "raidz $VDEV0 $VDEV1 $VDEV2" \
154 "$VDEV1" "$VDEV3" \
156 "$VDEV0 $VDEV1 $VDEV2" \
159 test_replacing_vdevs "draid:1s $VDEV0 $VDEV1 $VDEV2 $VDEV3 $VDEV4" \
[all …]
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_cachefile_mirror_attached.ksh66 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_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 Dimport_cachefile_mirror_detached.ksh66 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
53 log_must zpool import -d $DEVICE_DIR/test_dir -d $VDEV1 $TESTPOOL1
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
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/bootfs/
H A Dbootfs_006_pos.ksh48 VDEV1=$TESTDIR/bootfs_006_pos_a.$$.dat
86 log_must rm $VDEV1 $VDEV2 $VDEV3 $VDEV4
94 log_must mkfile $MINVDEVSIZE $VDEV1 $VDEV2 $VDEV3 $VDEV4
100 log_must zpool create $TESTPOOL $VDEV1
104 log_must zpool create $TESTPOOL $VDEV1 spare $VDEV2
108 log_must zpool create $TESTPOOL mirror $VDEV1 $VDEV2
112 log_must zpool create $TESTPOOL mirror $VDEV1 $VDEV2 spare $VDEV3
117 log_must zpool create $TESTPOOL $VDEV1 $VDEV2
121 log_must zpool create $TESTPOOL $VDEV1 $VDEV2 spare $VDEV3
127 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.ksh48 for file in $VDEV1 $VDEV2 $VDEV3 $VDEV4; do
58 log_must truncate -s $MINVDEVSIZE $VDEV1 $VDEV2 $VDEV3 $VDEV4
68 "zpool create $MPOOL mirror $VDEV1 $VDEV2"
97 "zpool offline $MPOOL $VDEV1"
105 "zpool online $MPOOL $VDEV1"
114 "zpool attach $MPOOL $VDEV1 $VDEV4"
128 "zpool replace -f $MPOOL $VDEV1 $VDEV4"
H A Devents_002_pos.ksh47 log_must rm -f $VDEV1 $VDEV2 $TMP_EVENTS_ZED
54 log_must truncate -s $MINVDEVSIZE $VDEV1 $VDEV2
59 log_must zpool create -O compression=off $MPOOL mirror $VDEV1 $VDEV2
75 log_must zpool offline $MPOOL $VDEV1
76 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/history/
H A Dhistory_001_pos.ksh54 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"
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_events/
H A Dzpool_events_clear_retained.ksh47 VDEV1=$TEST_BASE_DIR/vfile1
68 log_must rm -fd $VDEV1 $VDEV2 $VDEV3 $SUPPLY $MOUNTDIR
73 log_must zpool clear $POOL $VDEV1
76 log_note injecting damage to $VDEV1
77 log_must dd conv=notrunc if=$SUPPLY of=$VDEV1 bs=1M seek=4 count=$DAMAGEBLKS
92 zpool status -p $POOL | awk -v dev=$VDEV1 '$0 ~ dev {print $5}'
106 log_must truncate -s $MINVDEVSIZE $VDEV1 $VDEV2 $VDEV3
109 log_must zpool create -f -m $MOUNTDIR -o failmode=continue $POOL raidz $VDEV1 $VDEV2 $VDEV3
H A Dzpool_events_errors.ksh45 VDEV1=$TEST_BASE_DIR/file1
63 log_must rm -fd $VDEV1 $VDEV2 $VDEV3 $MOUNTDIR
74 log_must truncate -s $MINVDEVSIZE $VDEV1 $VDEV2 $VDEV3
89 log_must zpool create -f -m $MOUNTDIR -o failmode=continue $POOL $POOLTYPE $VDEV1 $VDEV2 $VDEV3
97 log_must zinject -d $VDEV1 -e $ERR -T $RW -f 100 $POOL
116 out="$(zpool status -p | grep $VDEV1)"
/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.ksh45 typeset -r VDEV1="$TESTDIR/file_vdev1"
52 log_must truncate -s 10G "$VDEV1" "$VDEV2" "$VDEV3"
53 log_must zpool create -f $TESTPOOL "$VDEV1" "$VDEV2" "$VDEV3"
55 log_bkgrnd zpool trim -r 1M -w $TESTPOOL "$VDEV1" "$VDEV2"
69 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