Searched refs:vdevs (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/test/zfs-tests/tests/functional/inuse/
H A Dinuse_005_pos.ksh75 set -A vdevs "" "mirror" "raidz" "raidz1" "raidz2"
80 while (( i < ${#vdevs[*]} )); do
89 if [[ -n $SINGLE_DISK && -n ${vdevs[i]} ]]; then
94 create_pool $TESTPOOL1 ${vdevs[i]} $vslices spare $sslices
98 if [[ ( $FS_DISK0 == $FS_DISK2 ) && -n ${vdevs[i]} ]]; then
103 if [[ ( $FS_DISK0 == $FS_DISK3 ) && ( ${vdevs[i]} == "raidz2" ) ]]; then
108 create_pool $TESTPOOL1 ${vdevs[i]} $vdisks spare $sdisks
H A Dinuse_006_pos.ksh76 set -A vdevs "" "mirror" "raidz" "raidz1" "raidz2"
83 while (( i < ${#vdevs[*]} )); do
92 if [[ -n $SINGLE_DISK && -n ${vdevs[i]} ]]; then
97 create_pool $TESTPOOL1 ${vdevs[i]} $vslices spare $sslices
101 if [[ ( $FS_DISK0 == $FS_DISK2 ) && -n ${vdevs[i]} ]]; then
106 if [[ ( $FS_DISK0 == $FS_DISK3 ) && ( ${vdevs[i]} == "raidz2" ) ]]; then
111 create_pool $TESTPOOL1 ${vdevs[i]} $vdisks spare $sdisks
H A Dinuse_009_pos.ksh75 set -A vdevs "" "mirror" "raidz" "raidz1" "raidz2"
79 while (( i < ${#vdevs[*]} )); do
88 if [[ -n $SINGLE_DISK && -n ${vdevs[i]} ]]; then
93 create_pool $TESTPOOL1 ${vdevs[i]} $vslices spare $sslices
97 if [[ ( $FS_DISK0 == $FS_DISK2 ) && -n ${vdevs[i]} ]]; then
102 if [[ ( $FS_DISK0 == $FS_DISK3 ) && ( ${vdevs[i]} == "raidz2" ) ]]; then
107 create_pool $TESTPOOL1 ${vdevs[i]} $vdisks spare $sdisks
H A Dinuse_007_pos.ksh81 set -A vdevs "" "mirror" "raidz" "raidz1" "raidz2"
87 while (( i < ${#vdevs[*]} )); do
96 if [[ -n $SINGLE_DISK && -n ${vdevs[i]} ]]; then
101 create_pool $TESTPOOL1 ${vdevs[i]} $vslices spare $sslices
107 if [[ ( $FS_DISK0 == $FS_DISK2 ) && -n ${vdevs[i]} ]]; then
112 if [[ ( $FS_DISK0 == $FS_DISK3 ) && ( ${vdevs[i]} == "raidz2" ) ]]; then
117 create_pool $TESTPOOL1 ${vdevs[i]} $vdisks spare $sdisks
H A Dinuse_008_pos.ksh78 set -A vdevs "" "mirror" "raidz" "raidz1" "raidz2"
89 while (( i < ${#vdevs[*]} )); do
90 if [[ -n $SINGLE_DISK && -n ${vdevs[i]} ]]; then
95 create_pool $TESTPOOL1 ${vdevs[i]} $vslices spare $sslices
/illumos-gate/usr/src/test/zfs-tests/tests/functional/redundancy/
H A Dredundancy.kshlib106 typeset vdevs
110 vdevs="$vdevs $BASEDIR/vdev$i"
122 log_must mkfile $MINVDEVSIZE $vdevs
124 log_must zpool create -m $TESTDIR $pool $keyword $vdevs
204 typeset vdevs
209 vdevs="$dev $vdevs"
213 echo "$vdevs"
272 # $3 damage vdevs metho
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dzpool_import_missing_003_pos.ksh62 set -A vdevs "" "mirror" "raidz"
162 while (( i < ${#vdevs[*]} )); do
164 while (( j < ${#vdevs[*]} )); do
184 "" ${vdevs[i]}
191 "" ${vdevs[j]}
198 case "${vdevs[i]}" in
H A Dzpool_import_missing_001_pos.ksh70 set -A vdevs "" "mirror" "raidz"
75 # recover the vdevs
111 while (( i < ${#vdevs[*]} )); do
115 "" ${vdevs[i]}
153 case "${vdevs[i]}" in
H A Dzpool_import_missing_002_pos.ksh65 set -A vdevs "" "mirror" "raidz"
123 while (( i < ${#vdevs[*]} )); do
130 "" ${vdevs[i]}
170 case "${vdevs[i]}" in
/illumos-gate/usr/src/cmd/ztest/
H A Dzloop.bash163 vdevs=2
168 vdevs=$(((RANDOM % 3) + 3))
178 zopt="$zopt -v $vdevs"
/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_main.c368 jobjectArray vdevs = NULL; local
383 vdevs = zjni_get_VirtualDevices_from_vdev(
390 return (vdevs);
405 jobjectArray vdevs = NULL; local
415 vdevs = zjni_get_VirtualDevices_from_vdev(env,
421 return (vdevs);
/illumos-gate/usr/src/lib/libv12n/sparc/
H A Dlibv12n.c334 static char *vdevs[] = { local
342 vdevs));
/illumos-gate/usr/src/boot/sys/boot/zfs/
H A Dzfsimpl.c47 * List of all vdevs, chained through v_alllink.
539 printf("ZFS: can only boot from disk, mirror, raidz1, raidz2 and raidz3 vdevs\n");
605 printf("ZFS: can only boot from disk, mirror, raidz1, raidz2 and raidz3 vdevs\n");
917 const unsigned char *vdevs; local
1031 DATA_TYPE_NVLIST, 0, &vdevs)) {
1035 rc = vdev_init_from_nvlist(vdevs, NULL, &top_vdev, is_newer);

Completed in 80 milliseconds