Home
last modified time | relevance | path

Searched refs:TESTVOL (Results 1 – 25 of 133) sorted by relevance

123456

/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_destroy/
H A Dzfs_destroy_016_pos.ksh34 datasetexists $TESTPOOL/$TESTVOL && \
35 log_must zfs destroy -Rf $TESTPOOL/$TESTVOL
43 datasetexists $TESTPOOL/$TESTVOL@snap$i && \
46 log_must zfs snapshot $TESTPOOL/$TESTVOL@snap$i
58 snapexists $TESTPOOL/$TESTVOL@snap$i || \
60 "$TESTPOOL/$TESTVOL@snap$i"
67 snapexists $TESTPOOL/$TESTVOL@snap$i && \
69 "$TESTPOOL/$TESTVOL@snap$i"
89 log_must zfs destroy $TESTPOOL/$TESTVOL$args
104 log_must zfs destroy $TESTPOOL/$TESTVOL@%snap3
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/zvol/zvol_cli/
H A Dzvol_cli_001_pos.ksh46 TESTVOL='testvol'
49 "list $TESTPOOL/$TESTVOL" "list -r $TESTPOOL/$TESTVOL" \
50 "list -H $TESTPOOL/$TESTVOL" "list -Hr $TESTPOOL/$TESTVOL" \
51 "list -rH $TESTPOOL/$TESTVOL" "list -o name $TESTPOOL/$TESTVOL" \
52 "list -r -o name $TESTPOOL/$TESTVOL" "list -H -o name $TESTPOOL/$TESTVOL" \
53 "list -rH -o name $TESTPOOL/$TESTVOL"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/zvol/zvol_misc/
H A Dzvol_misc_002_pos.ksh47 volsize=$(zfs get -H -o value volsize $TESTPOOL/$TESTVOL)
51 snapexists $TESTPOOL/$TESTVOL@snap && \
52 zfs destroy $TESTPOOL/$TESTVOL@snap
58 zfs set volsize=$volsize $TESTPOOL/$TESTVOL
64 TESTVOL='testvol'
68 log_must zfs set volsize=128m $TESTPOOL/$TESTVOL
70 echo "y" | newfs -v /dev/zvol/rdsk/$TESTPOOL/$TESTVOL >/dev/null 2>&1
71 (( $? != 0 )) && log_fail "Unable to newfs(8) $TESTPOOL/$TESTVOL"
74 log_must mount /dev/zvol/dsk/$TESTPOOL/$TESTVOL $TESTDIR
91 log_must zfs snapshot $TESTPOOL/$TESTVOL@snap
[all …]
H A Dzvol_misc_004_pos.ksh49 volsize=$(zfs get -H -o value volsize $TESTPOOL/$TESTVOL)
66 if datasetexists $TESTPOOL/$TESTVOL@$snap ; then
67 log_must zfs destroy $TESTPOOL/$TESTVOL@$snap
70 zfs set volsize=$volsize $TESTPOOL/$TESTVOL
93 voldev=/dev/zvol/dsk/$TESTPOOL/$TESTVOL
98 log_must is_zvol_dumpified $TESTPOOL/$TESTVOL
100 verify_snapshot $TESTPOOL/$TESTVOL
103 log_mustnot is_zvol_dumpified $TESTPOOL/$TESTVOL
108 log_mustnot is_zvol_dumpified $TESTPOOL/$TESTVOL
110 verify_snapshot $TESTPOOL/$TESTVOL
[all …]
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"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_offline/
H A Dzpool_offline_002_neg.ksh51 "-t $TESTPOOL/$TESTCTR $DISKLIST" "-t $TESTPOOL/$TESTVOL" \
53 "-t $TESTPOOL/$TESTVOL $DISKLIST" \
57 "-f $TESTPOOL/$TESTCTR $DISKLIST" "-f $TESTPOOL/$TESTVOL" \
59 "-f $TESTPOOL/$TESTVOL $DISKLIST" \
64 "-ft $TESTPOOL/$TESTCTR $DISKLIST" "-ft $TESTPOOL/$TESTVOL" \
66 "-ft $TESTPOOL/$TESTVOL $DISKLIST" \
71 "-tf $TESTPOOL/$TESTCTR $DISKLIST" "-tf $TESTPOOL/$TESTVOL" \
73 "-tf $TESTPOOL/$TESTVOL $DISKLIST" \
77 "$TESTPOOL/$TESTCTR $DISKLIST" "$TESTPOOL/$TESTVOL" \
78 "$TESTPOOL/$TESTCTR/$TESTFS1 $DISKLIST" "$TESTPOOL/$TESTVOL $DISKLIST" \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_snapshot/
H A Dzfs_snapshot_001_neg.ksh61 "$TESTPOOL/$TESTVOL@blah*" "$TESTPOOL/$TESTVOL@blah?" \
62 "/$TESTPOOL/$TESTFS@$TESTSNAP" "/$TESTPOOL/$TESTVOL@$TESTSNAP" \
63 "@$TESTSNAP" "$TESTPOOL/$TESTFS@" "$TESTPOOL/$TESTVOL@" \
64 "$TESTPOOL//$TESTFS@$TESTSNAP" "$TESTPOOL//$TESTVOL@$TESTSNAP" \
65 "$TESTPOOL/$TESTFS/$TESTSNAP" "$TESTPOOL/$TESTVOL/$TESTSNAP" \
67 "$TESTPOOL/$TESTVOL@$TESTSNAP@$TESTSNAP1" \
H A Dzfs_snapshot_002_neg.ksh54 $TESTPOOL/$TESTCTR/$TESTVOL@$TESTSNAP;
60 datasetexists $TESTPOOL/$TESTCTR/$TESTVOL && \
61 log_must zfs destroy -rf $TESTPOOL/$TESTCTR/$TESTVOL
90 log_must zfs create -V $VOLSIZE $TESTPOOL/$TESTCTR/$TESTVOL
92 log_must zfs create $TESTPOOL/$TESTCTR/$TESTVOL
94 log_must zfs snapshot $TESTPOOL/$TESTCTR/$TESTVOL@$TESTSNAP
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rename/
H A Dzfs_rename_004_neg.ksh56 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTVOL \
59 $TESTPOOL/$TESTCTR1 $TESTPOOL/$TESTVOL \
63 $TESTPOOL/$TESTCTR/$TESTFS1 $TESTPOOL/$TESTVOL \
67 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTCTR1 \
68 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTFS@snapshot \
69 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTFS1 \
70 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTCTR/$TESTFS1 \
72 $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTVOL \
H A Dzfs_rename_011_pos.ksh59 if datasetexists $TESTPOOL/$TESTVOL ; then
60 log_must zfs destroy -Rf $TESTPOOL/$TESTVOL
62 log_must zfs create -V $VOLSIZE $TESTPOOL/$TESTVOL
74 log_must verify_opt_p_ops "rename" "vol" "$TESTPOOL/$TESTVOL" \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/
H A Dcanmount_001_pos.ksh54 "$TESTPOOL/$TESTVOL" "$TESTPOOL/$TESTFS@$TESTSNAP" \
55 "$TESTPOOL/$TESTVOL@$TESTSNAP" "$TESTPOOL/$TESTCLONE1"
58 "$TESTPOOL/$TESTFS@$TESTSNAP" "$TESTPOOL/$TESTVOL@$TESTSNAP"
69 if snapexists $TESTPOOL/$TESTVOL@$TESTSNAP ; then
70 log_must zfs destroy -R $TESTPOOL/$TESTVOL@$TESTSNAP
95 log_must zfs snapshot $TESTPOOL/$TESTVOL@$TESTSNAP
97 log_must zfs clone $TESTPOOL/$TESTVOL@$TESTSNAP $TESTPOOL/$TESTCLONE1
H A Dcanmount_002_pos.ksh55 "$TESTPOOL/$TESTVOL" "$TESTPOOL/$TESTFS@$TESTSNAP" \
56 "$TESTPOOL/$TESTVOL@$TESTSNAP" "$TESTPOOL/$TESTCLONE1"
59 "$TESTPOOL/$TESTFS@$TESTSNAP" "$TESTPOOL/$TESTVOL@$TESTSNAP"
86 if snapexists $TESTPOOL/$TESTVOL@$TESTSNAP ; then
87 log_must zfs destroy -R $TESTPOOL/$TESTVOL@$TESTSNAP
107 log_must zfs snapshot $TESTPOOL/$TESTVOL@$TESTSNAP
109 log_must zfs clone $TESTPOOL/$TESTVOL@$TESTSNAP $TESTPOOL/$TESTCLONE1
H A Dro_props_001_pos.ksh51 set -A dataset $TESTPOOL/$TESTFS $TESTPOOL/$TESTVOL \
53 $TESTPOOL/$TESTVOL@$TESTSNAP
67 datasetexists $TESTPOOL/$TESTVOL@$TESTSNAP && \
68 destroy_snapshot $TESTPOOL/$TESTVOL@$TESTSNAP
78 create_snapshot $TESTPOOL/$TESTVOL $TESTSNAP
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_create/
H A Dzfs_create_007_pos.ksh52 datasetexists $TESTPOOL/$TESTVOL && \
53 log_must zfs destroy -f $TESTPOOL/$TESTVOL
74 log_must zfs create $opts -V $VOLSIZE $TESTPOOL/$TESTVOL
75 datasetexists $TESTPOOL/$TESTVOL || \
76 log_fail "zfs create $TESTPOOL/$TESTVOL fail."
84 propertycheck $TESTPOOL/$TESTVOL ${RW_VOL_PROP[i]} || \
H A Dzfs_create_002_pos.ksh50 if datasetexists $TESTPOOL/${TESTVOL}${size[j]}; then
51 log_must zfs destroy $TESTPOOL/${TESTVOL}${size[j]}
65 $TESTPOOL/${TESTVOL}${size[j]}"
70 log_must datasetexists $TESTPOOL/${TESTVOL}${size[j]}
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_add/
H A Dzpool_add_004_pos.ksh53 datasetexists $TESTPOOL1/$TESTVOL && \
54 log_must zfs destroy -f $TESTPOOL1/$TESTVOL
71 log_must zfs create -V $VOLSIZE $TESTPOOL1/$TESTVOL
73 log_must zpool add "$TESTPOOL" /dev/zvol/dsk/$TESTPOOL1/$TESTVOL
75 log_must vdevs_in_pool "$TESTPOOL" "/dev/zvol/dsk/$TESTPOOL1/$TESTVOL"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/reservation/
H A Dreservation_001_pos.sh71 OBJ_LIST="$TESTPOOL/$TESTVOL $TESTPOOL/$TESTVOL2"
83 log_must zfs create -V $vol_set_size $TESTPOOL/$TESTVOL
84 log_must zfs set reservation=none $TESTPOOL/$TESTVOL
85 log_must zfs set refreservation=none $TESTPOOL/$TESTVOL
101 [[ $obj == $TESTPOOL/$TESTVOL ]] && \
H A Dreservation_004_pos.sh75 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTVOL2"
82 log_must zfs create -V $vol_set_size $TESTPOOL/$TESTVOL
83 log_must zfs set refreservation=none $TESTPOOL/$TESTVOL
84 log_must zfs set reservation=none $TESTPOOL/$TESTVOL
104 [[ $obj == $TESTPOOL/$TESTVOL ]] && \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/rsend/
H A Dsend-wDR_encrypted_zvol.ksh51 destroy_dataset $TESTPOOL/$TESTVOL "-r"
61 typeset zdev=$ZVOL_DEVDIR/$TESTPOOL/$TESTVOL
62 typeset mntpnt=$TESTDIR/$TESTVOL
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"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_mount/
H A Dzfs_mount_011_neg.ksh52 if is_global_zone && datasetexists $TESTPOOL/$TESTVOL; then
53 log_must zfs destroy $TESTPOOL/$TESTVOL
77 log_must zfs create -V 10m $TESTPOOL/$TESTVOL
78 log_mustnot eval "zfs mount $TESTPOOL/$TESTVOL >/dev/null 2>&1"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/largest_pool/
H A Dlargest_pool_001_pos.ksh99 datasetexists $TESTPOOL2/$TESTVOL && \
100 log_must zfs destroy $TESTPOOL2/$TESTVOL
126 str=$(zfs create -sV $volsize $TESTPOOL2/$TESTVOL 2>&1)
137 log_fail "zfs create -sV $volsize $TESTPOOL2/$TESTVOL"
156 log_must zfs destroy $TESTPOOL2/$TESTVOL
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_online/
H A Dzpool_online_002_neg.ksh50 "-t $TESTPOOL/$TESTCTR $DISKLIST" "-t $TESTPOOL/$TESTVOL" \
52 "-t $TESTPOOL/$TESTVOL $DISKLIST" \
56 "$TESTPOOL/$TESTCTR $DISKLIST" "$TESTPOOL/$TESTVOL" \
57 "$TESTPOOL/$TESTCTR/$TESTFS1 $DISKLIST" "$TESTPOOL/$TESTVOL $DISKLIST" \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_attach/
H A Dzpool_attach_001_neg.ksh51 "$TESTPOOL/$TESTCTR $DISKLIST" "-t $TESTPOOL/$TESTVOL" \
53 "$TESTPOOL/$TESTVOL $DISKLIST" \
60 "-f $TESTPOOL/$TESTCTR $DISKLIST" "-f $TESTPOOL/$TESTVOL" \
62 "-f $TESTPOOL/$TESTVOL $DISKLIST" \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_destroy/
H A Dzpool_destroy_001_pos.ksh51 datasetexists $TESTPOOL1/$TESTVOL && \
52 log_must zfs destroy -f $TESTPOOL1/$TESTVOL
76 log_must zfs create -s -V $VOLSIZE $TESTPOOL1/$TESTVOL
77 create_pool "$TESTPOOL2" "/dev/zvol/dsk/$TESTPOOL1/$TESTVOL"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_replace/
H A Dzpool_replace_001_neg.ksh51 "$TESTPOOL/$TESTCTR $DISKLIST" "-t $TESTPOOL/$TESTVOL" \
53 "$TESTPOOL/$TESTVOL $DISKLIST" \
60 "-f $TESTPOOL/$TESTCTR $DISKLIST" "-f $TESTPOOL/$TESTVOL" \
62 "-f $TESTPOOL/$TESTVOL $DISKLIST" \

123456