Home
last modified time | relevance | path

Searched full:disks (Results 1 – 25 of 1036) sorted by relevance

12345678910>>...42

/freebsd/lib/geom/raid/
H A Dgraid.8112 The special name "NONE" can be used to reserve space for absent disks.
164 If there are spare disks present, the removed disk(s) will be replaced by
167 Mark the given disks(s) as failed, removing from active use unless absolutely
169 If there are spare disks present - failed disk(s) will be replaced with one
211 Respecting that, it may support different number of disks per volume,
213 The following configurations are supported: RAID0 (2+ disks), RAID1 (2+ disks),
214 RAID1E (3+ disks), RAID3 (3+ disks), RAID4 (3+ disks), RAID5 (3+ disks),
215 RAID5E (4+ disks), RAID5EE (4+ disks), RAID5R (3+ disks), RAID6 (4+ disks),
216 RAIDMDF (4+ disks), RAID10 (4+ disks), SINGLE (1 disk), CONCAT (2+ disks).
224 Supports configurations: RAID0 (2+ disks), RAID1 (2 disks),
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/online_offline/
H A Donline_offline_002_neg.ksh37 # Turning disks in a pool offline should fail when there is no longer
42 # 2. Verify that we can offline as many disks as the redundancy level
54 # Ensure we don't leave disks in the offline state
65 log_assert "Turning both disks offline should fail."
72 disks=($DISKLIST)
82 while [[ $i -lt ${#disks[*]} ]]; do
86 log_must zpool online $TESTPOOL ${disks[$i]}
87 check_state $TESTPOOL ${disks[$i]} "online" || \
88 log_fail "Failed to set ${disks[$i]} online"
91 while [[ $j -lt ${#disks[*]} ]]; do
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_009_neg.ksh45 # 2. Create two pools but using the same disks, expect failed.
46 # 3. Create one pool but using the same disks twice, expect failed.
68 typeset disks=$DISK0
70 typeset disks=$DISKS
73 # Create two pools but using the same disks.
74 create_pool $TESTPOOL $opt $disks
75 log_mustnot zpool create -f $TESTPOOL1 $opt $disks
79 create_pool $TESTPOOL $opt $disks
83 # Create one pool but using the same disks twice.
84 log_mustnot zpool create -f $TESTPOOL $opt $disks $disks
[all …]
H A Dzpool_create_encrypted.ksh68 log_mustnot zpool create -O keylocation=prompt $TESTPOOL $DISKS
69 log_mustnot zpool create -O keyformat=passphrase $TESTPOOL $DISKS
71 $TESTPOOL $DISKS
73 log_must zpool create -O encryption=off $TESTPOOL $DISKS
77 $TESTPOOL $DISKS
79 $TESTPOOL $DISKS
81 -O keylocation=prompt $TESTPOOL $DISKS
83 log_mustnot zpool create -O encryption=on $TESTPOOL $DISKS
85 $TESTPOOL $DISKS
89 "-o feature@lz4_compress=disabled -O compression=lz4 $TESTPOOL $DISKS"
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_split/
H A Dzpool_split_vdevs.ksh59 typeset -A disks
60 disks[d]="d1"
61 disks[t]="t1 t2"
62 disks[m]="m1 m2"
63 disks[m3]="m1 m2 m3"
64 disks[z1]="z1 z2"
65 disks[z2]="z1 z2 z3"
66 disks[z3]="z1 z2 z3 z4"
67 disks[s]="s1"
68 disks[l]="l1"
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/
H A Dzpool_iostat_004_pos.ksh57 set -A args "" "-v" "-q" "-l" "-lq $TESTPOOL" "-ql ${DISKS[0]} ${DISKS[1]}" \
58 "-w $TESTPOOL ${DISKS[0]} ${DISKS[1]}" \
60 "-qlH $TESTPOOL ${DISKS[0]}" \
61 "-vpH ${DISKS[0]}" \
62 "-wpH ${DISKS[0]}" \
63 "-r ${DISKS[0]}" \
64 "-rpH ${DISKS[0]}"
67 log_note "testpool: $TESTPOOL, disks $DISKS"
/freebsd/usr.sbin/bsdinstall/scripts/
H A Dzfsboot109 # Default disks to use (always empty unless being scripted)
114 # Default partitioning scheme to use on disks
119 # Default boot type to use on disks
177 # If interactive and the user has not explicitly chosen a vdev type or disks,
252 msg_disk_plural="disks"
254 msg_encrypt_disks="Encrypt Disks?"
261 msg_geli_setup="Initializing encryption on selected disks,\n this will take several seconds per dis…
271 …st Chance! Are you sure you want to destroy\nthe current contents of the following disks:\n\n %s"
272 …\Z1sure\\Zn you want to \\Zr\\Z1destroy\\Zn\nthe current contents of the following disks:\n\n %s'
274 msg_mirror_help="[2+ Disks] Mirroring provides the best performance, but the least storage"
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fault/
H A Dfault_limits.ksh35 # 3. While it is resilvering, attempt to fault disks
57 typeset -a disks
61 disks[${#disks[*]}+1]=$device
64 log_must zpool create -f ${TESTPOOL} raidz${PARITY} ${disks[1..$((VDEV_CNT - 1))]}
73 log_must zpool replace ${TESTPOOL} ${disks[$((VDEV_CNT - 1))]} ${disks[$VDEV_CNT]}
75 log_must zpool offline ${TESTPOOL} ${disks[$VDEV_CNT]}
77 # Fault disks while a replacing vdev is still active
78 for disk in ${disks[0..$PARITY]}; do
86 for disk in ${disks[0..$PARITY]}; do
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/
H A Dlabelclear.cfg18 typeset disks=(${DISKS[*]})
21 typeset disk1=/dev/${disks[0]}
22 typeset disk2=/dev/${disks[1]}
23 typeset disk3=/dev/${disks[2]}
25 typeset disk1=${disks[0]}
26 typeset disk2=${disks[1]}
27 typeset disk3=${disks[2]}
/freebsd/tests/sys/cddl/zfs/tests/cli_user/misc/
H A Dmisc_test.sh40 verify_disk_count "$DISKS" 1
66 verify_disk_count "$DISKS" 1
92 verify_disk_count "$DISKS" 1
118 verify_disk_count "$DISKS" 1
144 verify_disk_count "$DISKS" 1
170 verify_disk_count "$DISKS" 1
196 verify_disk_count "$DISKS" 1
222 verify_disk_count "$DISKS" 1
248 verify_disk_count "$DISKS" 1
274 verify_disk_count "$DISKS" 1
[all …]
/freebsd/share/man/man4/
H A Dccd.446 driver provides the capability of combining one or more disks/partitions
50 how to properly configure disks and devices in a kernel
51 configuration file, and how to partition disks.
97 number and speed of disks.)
109 even when you have only two disks (i.e., the layout winds up being the same
117 The best performance is achieved if all component disks have the same
136 any even number of disks.
142 configuration specifying four disks, the first two disks will be mirrored with
143 the second two disks
[all...]
/freebsd/tests/sys/cddl/zfs/tests/snapshot/
H A Dsnapshot_test.sh38 verify_disk_count "$DISKS" 1
63 verify_disk_count "$DISKS" 1
87 verify_disk_count "$DISKS" 1
111 verify_disk_count "$DISKS" 1
135 verify_disk_count "$DISKS" 1
159 verify_disk_count "$DISKS" 1
183 verify_disk_count "$DISKS" 1
207 verify_disk_count "$DISKS" 1
231 verify_disk_count "$DISKS" 1
255 verify_disk_count "$DISKS" 1
[all …]
/freebsd/tests/sys/geom/class/nop/
H A Dnop_test.sh60 atf_set "descr" "gnop should preserve properties for disks"
62 atf_set "require.config" "disks"
68 disks=`atf_config_get disks`
69 disk=${disks%% *}
71 atf_skip "Must define disks (see tests(7))"
152 atf_set "require.config" "disks"
158 disks=`atf_config_get disks`
159 disk=${disks%% *}
161 atf_skip "Must define disks (see tests(7))"
268 disks=`atf_config_get disks`
[all …]
/freebsd/tests/sys/cddl/zfs/tests/acl/nontrivial/
H A Dnontrivial_test.sh38 verify_disk_count "$DISKS" 1
63 verify_disk_count "$DISKS" 1
88 verify_disk_count "$DISKS" 1
112 verify_disk_count "$DISKS" 1
136 verify_disk_count "$DISKS" 1
160 verify_disk_count "$DISKS" 1
185 verify_disk_count "$DISKS" 1
210 verify_disk_count "$DISKS" 1
235 verify_disk_count "$DISKS" 1
259 verify_disk_count "$DISKS" 1
[all …]
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_set/
H A Dzfs_set_test.sh39 verify_disk_count "$DISKS" 1
66 verify_disk_count "$DISKS" 1
93 verify_disk_count "$DISKS" 1
124 verify_disk_count "$DISKS" 1
155 verify_disk_count "$DISKS" 1
182 verify_disk_count "$DISKS" 1
208 verify_disk_count "$DISKS" 1
234 verify_disk_count "$DISKS" 1
261 verify_disk_count "$DISKS" 1
288 verify_disk_count "$DISKS" 1
[all …]
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_import/
H A Dzpool_import_test.sh39 verify_disk_count "$DISKS" 1
64 verify_disk_count "$DISKS" 1
89 verify_disk_count "$DISKS" 1
114 verify_disk_count "$DISKS" 1
139 verify_disk_count "$DISKS" 1
164 verify_disk_count "$DISKS" 1
189 verify_disk_count "$DISKS" 1
214 verify_disk_count "$DISKS" 1
239 verify_disk_count "$DISKS" 1
264 verify_disk_count "$DISKS" 1
[all …]
/freebsd/tests/sys/cddl/zfs/include/
H A Dtestenv.kshlib12 DISKS=("${DISKS[@]}" "/dev/$d") #"$DISKS $d"
15 # Currently we use at most 5 disks plus 1 for temporary disks.
16 [ ${#DISKS[@]} -eq 6 ] && break
H A Dtestenv.ksh10 DISKS=("${DISKS[@]}" "/dev/$d") #"$DISKS $d"
13 # Currently we use at most 5 disks plus 1 for temporary disks.
14 [ ${#DISKS[@]} -eq 6 ] && break
/freebsd/tests/sys/cddl/zfs/tests/reservation/
H A Dreservation_test.sh39 verify_disk_count "$DISKS" 1
65 verify_disk_count "$DISKS" 1
91 verify_disk_count "$DISKS" 1
117 verify_disk_count "$DISKS" 1
143 verify_disk_count "$DISKS" 1
169 verify_disk_count "$DISKS" 1
195 verify_disk_count "$DISKS" 1
222 verify_disk_count "$DISKS" 1
249 verify_disk_count "$DISKS" 1
276 verify_disk_count "$DISKS" 1
[all …]
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_create/
H A Dzpool_create_009_neg.ksh44 # 2. Create two pools but using the same disks, expect failed.
45 # 3. Create one pool but using the same disks twice, expect failed.
75 typeset disk="$DISKS"
76 (( ${#opt} == 0 )) && disk=${DISKS%% *}
83 # Create two pools but using the same disks.
90 log_mustnot $ZPOOL create -f $TESTPOOL1 $opt ${DISKS% *}
93 # Create one pool but using the same disks twice.
97 log_pass "Using overlapping or in-use disks to create a new pool fails as expected."
H A Dzpool_create_test.sh40 verify_disk_count "$DISKS" 2
67 verify_disk_count "$DISKS" 1
94 verify_disk_count "$DISKS" 1
121 verify_disk_count "$DISKS" 1
148 verify_disk_count "$DISKS" 1
175 verify_disk_count "$DISKS" 1
202 verify_disk_count "$DISKS" 1
229 verify_disk_count "$DISKS" 1
256 verify_disk_count "$DISKS" 2
283 verify_disk_count "$DISKS" 1
[all …]
/freebsd/tests/sys/cddl/zfs/tests/acl/trivial/
H A Dtrivial_test.sh37 verify_disk_count "$DISKS" 1
61 verify_disk_count "$DISKS" 1
85 verify_disk_count "$DISKS" 1
109 verify_disk_count "$DISKS" 1
134 verify_disk_count "$DISKS" 1
158 verify_disk_count "$DISKS" 1
183 verify_disk_count "$DISKS" 1
207 verify_disk_count "$DISKS" 1
232 verify_disk_count "$DISKS" 1
256 verify_disk_count "$DISKS" 1
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/refreserv/
H A Drefreserv_raidz.ksh37 # 1. This test will use up to 14 disks but can cover the key concepts with
38 # 5 disks.
39 # 2. If the disks are a mixture of 4Kn and 512n/512e, failures are likely.
44 typeset -a alldisks=($DISKS)
63 # that small test disks may fill before creating small volumes. However,
94 typeset -a disks=(${alldisks[0..$((ndisks - 1))]})
96 if (( ${#disks[@]} < ndisks )); then
97 log_note "Too few disks to test $raid-$ndisks"
101 log_must zpool create -O compression=off "$TESTPOOL" "$raid" "${disks[@]}"
/freebsd/tests/sys/cddl/zfs/tests/online_offline/
H A Donline_offline_002_neg.ksh37 set -A DISKLIST $DISKS
51 log_fail "Insufficiently many disks configured for this test"
55 # Offline the allowed number of disks
60 #Verify that offlining any additional disks should fail
66 typeset dir=$(get_device_dir $DISKS)
70 log_assert "Turning both disks offline should fail."
74 default_setup_noexit "$keyword $DISKS"
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/raidz/
H A Draidz_expand_004_pos.ksh46 typeset -a disks
71 disks[${#disks[*]}+1]=$device
81 log_must zpool create -f $opts $pool $raid ${disks[1..$(($nparity+1))]}
89 for disk in ${disks[$(($nparity+2))..$devs]}; do
95 log_must zpool offline $pool ${disks[$i]}
96 log_must dd if=/dev/zero of=${disks[$i]} \
103 log_must zpool replace $pool ${disks[$i]}

12345678910>>...42