/illumos-gate/usr/src/test/zfs-tests/tests/functional/redundancy/ |
H A D | redundancy.kshlib | 106 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" 280 typeset vdevs 283 vdevs=$(get_vdevs $pool $cnt) 286 for dev in $vdevs; do [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/inuse/ |
H A D | inuse_005_pos.ksh | 75 set -A vdevs "" "mirror" "raidz" "raidz1" "raidz2" 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 D | inuse_006_pos.ksh | 76 set -A vdevs "" "mirror" "raidz" "raidz1" "raidz2" 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 D | inuse_009_pos.ksh | 75 set -A vdevs "" "mirror" "raidz" "raidz1" "raidz2" 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 D | inuse_007_pos.ksh | 81 set -A vdevs "" "mirror" "raidz" "raidz1" "raidz2" 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 D | inuse_008_pos.ksh | 78 set -A vdevs "" "mirror" "raidz" "raidz1" "raidz2" 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/trim/ |
H A D | trim.kshlib | 111 typeset vdevs=$@ 113 for vdev in $vdevs; do 133 typeset vdevs=$@ 139 for vdev in $vdevs; do
|
/illumos-gate/usr/src/cmd/bhyve/test/tests/mevent/ |
H A D | vnode_zvol.c | 85 nvlist_t *vdevs[1]; in create_zpool() local 89 vdevs[0] = fnvlist_alloc(); in create_zpool() 91 fnvlist_add_string(vdevs[0], ZPOOL_CONFIG_PATH, file); in create_zpool() 92 fnvlist_add_string(vdevs[0], ZPOOL_CONFIG_TYPE, VDEV_TYPE_FILE); in create_zpool() 93 fnvlist_add_uint64(vdevs[0], ZPOOL_CONFIG_IS_LOG, 0); in create_zpool() 96 fnvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, vdevs, 1); in create_zpool()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/ |
H A D | zpool_create.shlib | 35 # Given a pool vdevs list, create the pool,verify the created pool, 39 # $3, vdevs list 45 typeset vdevs 48 for vdevs in "${diskarray[@]}";do 49 create_pool $pool $keywd $vdevs
|
/illumos-gate/usr/src/lib/libzfs_jni/common/ |
H A D | libzfs_jni_main.c | 366 jobjectArray vdevs = NULL; in Java_com_sun_zfs_common_model_SystemDataModel_getVirtualDevices__Ljava_lang_String_2J() local 381 vdevs = zjni_get_VirtualDevices_from_vdev( in Java_com_sun_zfs_common_model_SystemDataModel_getVirtualDevices__Ljava_lang_String_2J() 388 return (vdevs); in Java_com_sun_zfs_common_model_SystemDataModel_getVirtualDevices__Ljava_lang_String_2J() 403 jobjectArray vdevs = NULL; in Java_com_sun_zfs_common_model_SystemDataModel_getVirtualDevices__Ljava_lang_String_2() local 413 vdevs = zjni_get_VirtualDevices_from_vdev(env, in Java_com_sun_zfs_common_model_SystemDataModel_getVirtualDevices__Ljava_lang_String_2() 419 return (vdevs); in Java_com_sun_zfs_common_model_SystemDataModel_getVirtualDevices__Ljava_lang_String_2()
|
/illumos-gate/usr/src/cmd/ztest/ |
H A D | zloop.bash | 152 vdevs=2 157 vdevs=$(((RANDOM % 3) + 3)) 167 zopt="$zopt -v $vdevs"
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/ |
H A D | zpool_import_missing_003_pos.ksh | 62 set -A vdevs "" "mirror" "raidz" 184 "" ${vdevs[i]} 191 "" ${vdevs[j]}
|
H A D | zpool_import_missing_002_pos.ksh | 65 set -A vdevs "" "mirror" "raidz" 130 "" ${vdevs[i]}
|
H A D | zpool_import_missing_001_pos.ksh | 70 set -A vdevs "" "mirror" "raidz" 115 "" ${vdevs[i]}
|
/illumos-gate/usr/src/boot/libsa/zfs/ |
H A D | zfsimpl.c | 1180 nvlist_t *vdevs; in vdev_init_from_label() local 1188 NULL, &vdevs, NULL)) { in vdev_init_from_label() 1193 rc = vdev_from_nvlist(spa, top_guid, vdevs); in vdev_init_from_label() 1194 nvlist_destroy(vdevs); in vdev_init_from_label() 1287 nvlist_t *vdevs = NULL, **kids = NULL; in vdev_init_from_nvlist() local 1295 NULL, &vdevs, NULL)) { in vdev_init_from_nvlist() 1302 nvlist_destroy(vdevs); in vdev_init_from_nvlist() 1308 rc = nvlist_find(vdevs, ZPOOL_CONFIG_CHILDREN, DATA_TYPE_NVLIST_ARRAY, in vdev_init_from_nvlist() 1310 nvlist_destroy(vdevs); in vdev_init_from_nvlist() 1881 nvlist_t *vdevs; in vdev_get_label_asize() local [all …]
|
/illumos-gate/usr/src/lib/libzfs_core/common/ |
H A D | libzfs_core.c | 1256 nvlist_t *vdevs, nvlist_t **errlist) in lzc_initialize() argument 1262 fnvlist_add_nvlist(args, ZPOOL_INITIALIZE_VDEVS, vdevs); in lzc_initialize() 1296 boolean_t secure, nvlist_t *vdevs, nvlist_t **errlist) in lzc_trim() argument 1302 fnvlist_add_nvlist(args, ZPOOL_TRIM_VDEVS, vdevs); in lzc_trim()
|
/illumos-gate/usr/src/lib/libv12n/sparc/ |
H A D | libv12n.c | 334 static char *vdevs[] = { in v12n_check_virtual_service() local 342 vdevs)); in v12n_check_virtual_service()
|
/illumos-gate/usr/src/test/zfs-tests/include/ |
H A D | default.cfg | 131 # Default minimum size for file based vdevs in the test suite
|
H A D | libtest.shlib | 1840 function cleanup_devices #vdevs 2616 # Check if the pool contains the specified vdevs 2621 # Return 0 if the vdevs are contained in the pool, 1 if any of the specified 2622 # vdevs is not in the pool, and 2 if pool name is missing.
|
/illumos-gate/usr/src/cmd/zpool/ |
H A D | zpool_main.c | 6474 nvlist_t *vdevs = fnvlist_alloc(); in zpool_do_trim() local 6480 zpool_collect_leaves(zhp, nvroot, vdevs); in zpool_do_trim() 6485 fnvlist_add_boolean(vdevs, argv[i]); in zpool_do_trim() 6489 int error = zpool_trim(zhp, cmd_type, vdevs, &trim_flags); in zpool_do_trim() 6491 fnvlist_free(vdevs); in zpool_do_trim() 6511 nvlist_t *vdevs; in zpool_do_initialize() local 6568 vdevs = fnvlist_alloc(); in zpool_do_initialize() 6574 zpool_collect_leaves(zhp, nvroot, vdevs); in zpool_do_initialize() 6577 fnvlist_add_boolean(vdevs, argv[i]); in zpool_do_initialize() 6581 err = zpool_initialize(zhp, cmd_type, vdevs); in zpool_do_initialize() [all …]
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_dataset.c | 5375 nvlist_t *config, *tree, **vdevs; in volsize_from_vdevs() local 5382 &vdevs, &nvdevs) != 0) { in volsize_from_vdevs() 5393 if (nvlist_lookup_string(vdevs[v], ZPOOL_CONFIG_TYPE, in volsize_from_vdevs() 5395 nvlist_lookup_uint64(vdevs[v], ZPOOL_CONFIG_NPARITY, in volsize_from_vdevs() 5397 nvlist_lookup_uint64(vdevs[v], ZPOOL_CONFIG_ASHIFT, in volsize_from_vdevs() 5399 nvlist_lookup_nvlist_array(vdevs[v], ZPOOL_CONFIG_CHILDREN, in volsize_from_vdevs()
|