Home
last modified time | relevance | path

Searched refs:TESTPOOL (Results 226 – 250 of 883) sorted by relevance

12345678910>>...36

/illumos-gate/usr/src/test/zfs-tests/tests/functional/l2arc/
H A Dpersist_l2arc_006_pos.ksh47 if poolexists $TESTPOOL ; then
48 destroy_pool $TESTPOOL
69 log_must zpool create -f $TESTPOOL $VDEV cache $VDEV_CACHE
75 log_must zpool offline $TESTPOOL $VDEV_CACHE
77 log_must zpool export $TESTPOOL
84 log_must zpool import -d $VDIR $TESTPOOL
85 log_must zpool online $TESTPOOL $VDEV_CACHE
94 log must zpool offline $TESTPOOL $VDEV_CACHE
99 log_must zpool destroy -f $TESTPOOL
H A Dpersist_l2arc_002_pos.ksh59 if poolexists $TESTPOOL ; then
60 destroy_pool $TESTPOOL
81 log_must zpool create -f $TESTPOOL $VDEV cache $VDEV_CACHE
84 "-o keyformat=passphrase $TESTPOOL/$TESTFS1"
90 log_must zpool export $TESTPOOL
98 log_must zpool import -d $VDIR $TESTPOOL
99 log_must eval "echo $PASSPHRASE | zfs mount -l $TESTPOOL/$TESTFS1"
108 log_must zpool offline $TESTPOOL $VDEV_CACHE
113 log_must zpool destroy -f $TESTPOOL
H A Dpersist_l2arc_005_pos.ksh51 if poolexists $TESTPOOL ; then
52 destroy_pool $TESTPOOL
71 log_must zpool create -f $TESTPOOL $VDEV cache $VDEV_CACHE
74 "-o keyformat=passphrase $TESTPOOL/$TESTFS1"
80 log_must zpool export $TESTPOOL
86 log_must zpool import -d $VDIR $TESTPOOL
87 log_must eval "echo $PASSPHRASE | zfs mount -l $TESTPOOL/$TESTFS1"
102 log_must zpool offline $TESTPOOL $VDEV_CACHE
107 log_must zpool destroy -f $TESTPOOL
H A Dl2arc_arcstats_pos.ksh47 if poolexists $TESTPOOL ; then
48 destroy_pool $TESTPOOL
65 log_must zpool create -f $TESTPOOL $VDEV cache $VDEV_CACHE
71 log_must zpool offline $TESTPOOL $VDEV_CACHE
79 log_must zpool online $TESTPOOL $VDEV_CACHE
81 log_must zpool export $TESTPOOL
86 log_must zpool import -d $VDIR $TESTPOOL
91 log_must zpool offline $TESTPOOL $VDEV_CACHE
105 log_must zpool destroy -f $TESTPOOL
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_021_pos.ksh50 datasetexists $TESTPOOL && destroy_pool $TESTPOOL
78 log_must zpool create -O ${RW_FS_PROP[$i]} -f $TESTPOOL $DISKS
79 datasetexists $TESTPOOL || \
80 log_fail "zpool create $TESTPOOL fail."
81 propertycheck $TESTPOOL ${RW_FS_PROP[i]} || \
83 log_must zpool destroy $TESTPOOL
H A Dzpool_create_features_002_pos.ksh45 datasetexists $TESTPOOL && log_must zpool destroy $TESTPOOL
50 for prop in $(zpool get all $TESTPOOL | awk '$2 ~ /feature@/ { print $2 }'); do
51 state=$(zpool list -Ho "$prop" $TESTPOOL)
62 log_must zpool create -f -d $TESTPOOL $DISKS
64 log_must zpool destroy -f $TESTPOOL
66 log_must zpool create -f -o version=28 $TESTPOOL $DISKS
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_add/
H A Dzpool_add_005_pos.ksh53 poolexists "$TESTPOOL" && \
54 destroy_pool "$TESTPOOL"
74 create_pool "$TESTPOOL" "${disk}s${SLICE0}"
75 log_must poolexists "$TESTPOOL"
81 log_mustnot zpool add -f "$TESTPOOL" ${disk}s${SLICE1}
82 log_mustnot zpool add -f "$TESTPOOL" $mnttab_dev
83 log_mustnot zpool add -f "$TESTPOOL" $vfstab_dev
87 log_mustnot zpool add -f "$TESTPOOL" $dump_dev
H A Dadd-o_ashift.ksh45 poolexists $TESTPOOL && destroy_pool $TESTPOOL
60 log_must zpool create $TESTPOOL $disk1
61 log_must zpool add -o ashift=$ashift $TESTPOOL $disk2
69 log_must zpool destroy $TESTPOOL
77 log_must zpool create $TESTPOOL $disk1
78 log_mustnot zpool add $TESTPOOL -o ashift="$badval" $disk2
80 log_must zpool destroy $TESTPOOL
H A Dzpool_add_003_pos.ksh50 poolexists $TESTPOOL && \
51 destroy_pool $TESTPOOL
66 create_pool "$TESTPOOL" "${disk}s${SLICE0}"
67 log_must poolexists "$TESTPOOL"
69 zpool add -n "$TESTPOOL" ${disk}s${SLICE1} > $tmpfile
71 log_mustnot vdevs_in_pool "$TESTPOOL" "${disk}s${SLICE1}"
73 str="would update '$TESTPOOL' to the following configuration:"
H A Dadd_prop_ashift.ksh47 poolexists $TESTPOOL && destroy_pool $TESTPOOL
62 log_must zpool create -o ashift=$ashift $TESTPOOL $disk1
63 log_must zpool add $TESTPOOL $disk2
71 log_must zpool destroy $TESTPOOL
80 log_must zpool create -o ashift=$ashift $TESTPOOL $disk1
81 log_must zpool add -o ashift=$cmdval $TESTPOOL $disk2
89 log_must zpool destroy $TESTPOOL
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_unmount/
H A Dzfs_unmount_001_pos.ksh57 datasetexists $TESTPOOL/$TESTFS2 && \
58 log_must zfs destroy $TESTPOOL/$TESTFS2
72 if ! datasetexists $TESTPOOL/$TESTFS2 ; then
73 log_must zfs create $TESTPOOL/$TESTFS2
75 $TESTPOOL/$TESTFS2
78 unmounted $TESTPOOL/$TESTFS2 && \
79 log_must zfs mount $TESTPOOL/$TESTFS2
93 set -A dev "$TESTPOOL/$TESTFS2" "$TESTDIR2"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/
H A Dzfs_set_003_neg.ksh51 if datasetexists $TESTPOOL/foo; then
52 log_must zfs destroy $TESTPOOL/foo
63 log_must zfs create -o mountpoint=legacy $TESTPOOL/foo
66 log_mustnot eval "zfs set mountpoint=$badpath $TESTPOOL/foo >/dev/null 2>&1"
69 log_mustnot eval "zfs set sharenfs=on $TESTPOOL/foo >/dev/null 2>&1"
72 log_mustnot eval "zfs set sharenfs= $TESTPOOL/foo >/dev/null 2>&1"
75 log_mustnot eval "zfs set mountpoint=/$longpath $TESTPOOL/foo >/dev/null 2>&1"
H A Dmountpoint_002_pos.ksh51 set -A dataset "$TESTPOOL/$TESTFS" "$TESTPOOL/$TESTCTR"
57 log_must zfs set mountpoint=$old_ctr_mpt $TESTPOOL/$TESTCTR
58 log_must zfs set mountpoint=$old_fs_mpt $TESTPOOL/$TESTFS
68 old_fs_mpt=$(get_prop mountpoint $TESTPOOL/$TESTFS)
70 log_fail "Unable to get the mountpoint property for $TESTPOOL/$TESTFS"
71 old_ctr_mpt=$(get_prop mountpoint $TESTPOOL/$TESTCTR)
73 log_fail "Unable to get the mountpoint property for $TESTPOOL/$TESTCTR"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cache/
H A Dcache_002_pos.ksh53 log_must zpool create $TESTPOOL $type $VDEV
54 log_must zpool add $TESTPOOL cache $LDEV
55 log_must display_status $TESTPOOL
57 log_must verify_cache_device $TESTPOOL $ldev 'ONLINE'
59 log_must zpool remove $TESTPOOL $ldev
60 log_must check_vdev_state $TESTPOOL $ldev ""
62 log_must zpool destroy -f $TESTPOOL
H A Dcache_003_pos.ksh54 log_must zpool create $TESTPOOL $type $VDEV \
56 log_must zpool add $TESTPOOL \
59 log_must display_status $TESTPOOL
61 log_must verify_cache_device $TESTPOOL $ldev 'ONLINE'
63 log_must zpool remove $TESTPOOL $ldev
64 log_must check_vdev_state $TESTPOOL $ldev ""
66 log_must zpool destroy -f $TESTPOOL
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_share/
H A Dzfs_share_002_pos.ksh51 log_must unshare_fs $TESTPOOL/$fs
61 log_mustnot zfs list $TESTPOOL/$NONEXISTFSNAME
63 zfs share $TESTPOOL/$NONEXISTFSNAME
66 log_fail "'zfs share $TESTPOOL/$NONEXISTFSNAME' " \
69 log_note "Make sure the file system $TESTPOOL/$NONEXISTFSNAME is unshared"
70 not_shared $TESTPOOL/$NONEXISTFSNAME || \
71 log_fail "File system $TESTPOOL/$NONEXISTFSNAME is unexpectedly shared."
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_initialize/
H A Dzpool_initialize_verify_initialized.ksh43 zpool import -d $TESTDIR $TESTPOOL
45 if datasetexists $TESTPOOL ; then
46 zpool destroy -f $TESTPOOL
62 log_must zpool create $TESTPOOL "$SMALLFILE"
63 log_must zpool initialize $TESTPOOL
65 while [[ "$(initialize_progress $TESTPOOL $SMALLFILE)" -lt "100" ]]; do
69 log_must zpool export $TESTPOOL
73 zdb -p $TESTDIR -Pme $TESTPOOL | awk '/metaslab[ ]+[0-9]+/ { print $4, $8 }' |
H A Dzpool_initialize_verify_checksums.ksh43 log_must zpool create -f $TESTPOOL $DISK1
44 log_must /usr/bin/dd if=/dev/urandom of=/$TESTPOOL/file1 bs=1M count=30
47 log_must zpool initialize $TESTPOOL
49 log_must zdb -cc $TESTPOOL
51 [[ -z "$(initialize_progress $TESTPOOL $DISK1)" ]] && \
54 log_must /usr/bin/dd if=/dev/urandom of=/$TESTPOOL/file2 bs=1M count=30
57 log_must zdb -cc $TESTPOOL
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rename/
H A Dzfs_rename_012_neg.ksh52 datasets=("$TESTPOOL" "$TESTPOOL/$TESTFS" "$TESTPOOL/$TESTFS@$TESTSNAP"
53 "$TESTPOOL/$TESTCTR" "$TESTPOOL/$TESTCTR/$TESTFS1" "$TESTPOOL/$TESTVOL")
57 log_must zfs snapshot $TESTPOOL/$TESTFS@$TESTSNAP
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_remove/
H A Dzpool_remove_002_pos.ksh47 if poolexists $TESTPOOL; then
48 destroy_pool $TESTPOOL
61 log_must zpool create $TESTPOOL $spare_devs1 spare $spare_devs2
62 log_must zpool remove $TESTPOOL $spare_devs2
65 log_must zpool add $TESTPOOL spare $spare_devs2
66 log_must zpool remove $TESTPOOL $spare_devs2
67 log_must zpool destroy $TESTPOOL
H A Dzpool_remove_003_pos.ksh49 if poolexists $TESTPOOL; then
50 destroy_pool $TESTPOOL
66 log_must zpool create $TESTPOOL $spare_devs1 $spare_devs2 spare \
68 log_must zpool replace $TESTPOOL $spare_devs2 $spare_devs3
69 log_mustnot zpool remove $TESTPOOL $spare_devs3
70 log_must zpool detach $TESTPOOL $spare_devs3
71 log_must zpool remove $TESTPOOL $spare_devs3
/illumos-gate/usr/src/test/zfs-tests/tests/functional/rsend/
H A Dsend-wDR_encrypted_zvol.ksh50 destroy_dataset $TESTPOOL/recv "-r"
51 destroy_dataset $TESTPOOL/$TESTVOL "-r"
59 typeset keyfile=/$TESTPOOL/pkey
61 typeset zdev=$ZVOL_DEVDIR/$TESTPOOL/$TESTVOL
63 typeset recvdev=$ZVOL_DEVDIR/$TESTPOOL/recv
70 -o keylocation=file://$keyfile -V 128M $TESTPOOL/$TESTVOL
89 log_must zfs snap $TESTPOOL/$TESTVOL@snap$i
92 log_must eval "zfs send -wDR $TESTPOOL/$TESTVOL@snap$snap_count > $sendfile"
93 log_must eval "zfs recv $TESTPOOL/recv < $sendfile"
94 log_must zfs load-key $TESTPOOL/recv
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_create/
H A Dzfs_create_004_pos.ksh51 datasetexists $TESTPOOL/$TESTFS1 && \
52 log_must zfs destroy -f $TESTPOOL/$TESTFS1
63 log_must zfs create -o ${RW_FS_PROP[$i]} $TESTPOOL/$TESTFS1
64 datasetexists $TESTPOOL/$TESTFS1 || \
65 log_fail "zfs create $TESTPOOL/$TESTFS1 fail."
66 propertycheck $TESTPOOL/$TESTFS1 ${RW_FS_PROP[i]} || \
68 log_must zfs destroy -f $TESTPOOL/$TESTFS1
/illumos-gate/usr/src/test/zfs-tests/tests/functional/alloc_class/
H A Dalloc_class_005_pos.ksh41 log_must zpool create $TESTPOOL $type $ZPOOL_DISK0 $ZPOOL_DISK1
43 log_must zpool create $TESTPOOL $type $ZPOOL_DISKS
45 ac_value="$(zpool get all $TESTPOOL | \
55 log_must zpool add $TESTPOOL special $CLASS_DISK0
57 log_must zpool add $TESTPOOL special mirror \
60 ac_value="$(zpool get all $TESTPOOL | \
69 log_must zpool destroy -f $TESTPOOL
/illumos-gate/usr/src/test/zfs-tests/tests/functional/zvol/zvol_misc/
H A Dzvol_misc_006_pos.ksh48 volsize=$(zfs get -H -o value volsize $TESTPOOL/$TESTVOL)
56 zfs set volsize=$volsize $TESTPOOL/$TESTVOL
62 voldev=/dev/zvol/dsk/$TESTPOOL/$TESTVOL
65 typeset oblksize=$(zfs get -H -o value volblocksize $TESTPOOL/$TESTVOL)
66 log_note "original $TESTPOOL/$TESTVOL volblocksize=$oblksize"
70 typeset blksize=$(zfs get -H -o value volblocksize $TESTPOOL/$TESTVOL)
73 log_fail "ZFS volume $TESTPOOL/$TESTVOL volblocksize=$blksize"

12345678910>>...36