Home
last modified time | relevance | path

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

1234567891011

/src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/
H A Dzfs_destroy_016_pos.ksh35 datasetexists $TESTPOOL/$TESTVOL && \
36 destroy_dataset $TESTPOOL/$TESTVOL -Rf
44 datasetexists $TESTPOOL/$TESTVOL@snap$i && \
45 destroy_dataset $TESTPOOL/$TESTVOL@snap$i
47 log_must zfs snapshot $TESTPOOL/$TESTVOL@snap$i
59 snapexists $TESTPOOL/$TESTVOL@snap$i || \
61 "$TESTPOOL/$TESTVOL@snap$i"
68 snapexists $TESTPOOL/$TESTVOL@snap$i && \
70 "$TESTPOOL/$TESTVOL@snap$i"
83 log_must zfs create -V $VOLSIZE $TESTPOOL/$TESTVOL
[all …]
/src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zvol/zvol_cli/
H A Dzvol_cli_001_pos.ksh47 TESTVOL='testvol'
50 "list $TESTPOOL/$TESTVOL" "list -r $TESTPOOL/$TESTVOL" \
51 "list -H $TESTPOOL/$TESTVOL" "list -Hr $TESTPOOL/$TESTVOL" \
52 "list -rH $TESTPOOL/$TESTVOL" "list -o name $TESTPOOL/$TESTVOL" \
53 "list -r -o name $TESTPOOL/$TESTVOL" "list -H -o name $TESTPOOL/$TESTVOL" \
54 "list -rH -o name $TESTPOOL/$TESTVOL"
/src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zvol/zvol_misc/
H A Dzvol_misc_002_pos.ksh48 volsize=$(zfs get -H -o value volsize $TESTPOOL/$TESTVOL)
52 snapexists $TESTPOOL/$TESTVOL@snap &&
53 destroy_dataset $TESTPOOL/$TESTVOL@snap
58 zfs set volsize=$volsize $TESTPOOL/$TESTVOL
64 TESTVOL='testvol'
68 log_must zfs set volsize=128m $TESTPOOL/$TESTVOL
70 log_must new_fs ${ZVOL_RDEVDIR}/$TESTPOOL/$TESTVOL
72 log_must mount ${ZVOL_DEVDIR}/$TESTPOOL/$TESTVOL $TESTDIR
88 log_must zfs set snapdev=visible $TESTPOOL/$TESTVOL
89 log_must zfs snapshot $TESTPOOL/$TESTVOL@snap
[all …]
H A Dzvol_misc_004_pos.ksh53 volsize=$(zfs get -H -o value volsize $TESTPOOL/$TESTVOL)
66 datasetexists $TESTPOOL/$TESTVOL@$snap && \
67 destroy_dataset $TESTPOOL/$TESTVOL@$snap
69 zfs set volsize=$volsize $TESTPOOL/$TESTVOL
92 voldev=${ZVOL_DEVDIR}/$TESTPOOL/$TESTVOL
97 log_must is_zvol_dumpified $TESTPOOL/$TESTVOL
99 verify_snapshot $TESTPOOL/$TESTVOL
102 log_mustnot is_zvol_dumpified $TESTPOOL/$TESTVOL
107 log_mustnot is_zvol_dumpified $TESTPOOL/$TESTVOL
109 verify_snapshot $TESTPOOL/$TESTVOL
[all …]
H A Dzvol_misc_006_pos.ksh53 volsize=$(zfs get -H -o value volsize $TESTPOOL/$TESTVOL)
61 zfs set volsize=$volsize $TESTPOOL/$TESTVOL
67 voldev=${ZVOL_DEVDIR}/$TESTPOOL/$TESTVOL
70 typeset oblksize=$(zfs get -H -o value volblocksize $TESTPOOL/$TESTVOL)
71 log_note "original $TESTPOOL/$TESTVOL volblocksize=$oblksize"
75 typeset blksize=$(zfs get -H -o value volblocksize $TESTPOOL/$TESTVOL)
78 log_fail "ZFS volume $TESTPOOL/$TESTVOL volblocksize=$blksize"
/src/tests/sys/cddl/zfs/tests/zvol/zvol_cli/
H A Dzvol_cli_001_pos.ksh56 "list $TESTPOOL/$TESTVOL" "list -r $TESTPOOL/$TESTVOL" \
57 "list -H $TESTPOOL/$TESTVOL" "list -Hr $TESTPOOL/$TESTVOL" \
58 "list -rH $TESTPOOL/$TESTVOL" "list -o name $TESTPOOL/$TESTVOL" \
59 "list -r -o name $TESTPOOL/$TESTVOL" "list -H -o name $TESTPOOL/$TESTVOL" \
60 "list -rH -o name $TESTPOOL/$TESTVOL"
/src/tests/sys/cddl/zfs/tests/iscsi/
H A Discsi_005_pos.ksh58 datasetexists $TESTPOOL/$TESTVOL && \
59 log_must $ZFS destroy $TESTPOOL/$TESTVOL
66 log_must $ZFS create -V $VOLSIZE -o shareiscsi=on $TESTPOOL/$TESTVOL
69 if ! is_iscsi_target $TESTPOOL/$TESTVOL ; then
73 iname=$(iscsi_name $TESTPOOL/$TESTVOL)
76 if is_iscsi_target $TESTPOOL/$TESTVOL ; then
82 if ! is_iscsi_target $TESTPOOL/$TESTVOL ; then
85 if [[ $iname != $(iscsi_name $TESTPOOL/$TESTVOL) ]]; then
H A Discsi_006_neg.ksh55 datasetexists $TESTPOOL/$TESTVOL && \
56 log_must $ZFS destroy -f $TESTPOOL/$TESTVOL
63 log_must $ZFS create -V $VOLSIZE -o shareiscsi=on $TESTPOOL/$TESTVOL
66 if ! is_iscsi_target $TESTPOOL/$TESTVOL ; then
71 $ZFS get all $TESTPOOL/$TESTVOL | $GREP iscsioptions
75 ioptions=$(get_prop iscsioptions $TESTPOOL/$TESTVOL)
77 $ZFS set iscsioptions="abc" $TESTPOOL/$TESTVOL
79 if [[ $ioptions != $(get_prop iscsioptions $TESTPOOL/$TESTVOL) ]]; then
H A Discsi_004_pos.ksh58 datasetexists $TESTPOOL/$TESTVOL && \
59 log_must $ZFS destroy $TESTPOOL/$TESTVOL
68 log_must $ZFS create -V $VOLSIZE -o shareiscsi=on $TESTPOOL/$TESTVOL
71 if ! is_iscsi_target $TESTPOOL/$TESTVOL ; then
75 iname=$(iscsi_name $TESTPOOL/$TESTVOL)
77 log_must $ZFS rename $TESTPOOL/$TESTVOL $TESTPOOL/$TESTVOL1
H A Discsi_001_pos.ksh60 datasetexists $TESTPOOL/$TESTVOL && \
61 log_must $ZFS destroy $TESTPOOL/$TESTVOL
77 log_must $ZFS create -V $VOLSIZE $TESTPOOL/$TESTVOL
78 log_must $ZFS set shareiscsi=on $TESTPOOL/$TESTVOL
79 if ! is_iscsi_target $TESTPOOL/$TESTVOL ; then
/src/tests/sys/cddl/zfs/tests/cli_root/zpool_offline/
H A Dzpool_offline_002_neg.ksh59 "-t $TESTPOOL/$TESTCTR $DISKLIST" "-t $TESTPOOL/$TESTVOL" \
61 "-t $TESTPOOL/$TESTVOL $DISKLIST" \
65 "-f $TESTPOOL/$TESTCTR $DISKLIST" "-f $TESTPOOL/$TESTVOL" \
67 "-f $TESTPOOL/$TESTVOL $DISKLIST" \
72 "-ft $TESTPOOL/$TESTCTR $DISKLIST" "-ft $TESTPOOL/$TESTVOL" \
74 "-ft $TESTPOOL/$TESTVOL $DISKLIST" \
79 "-tf $TESTPOOL/$TESTCTR $DISKLIST" "-tf $TESTPOOL/$TESTVOL" \
81 "-tf $TESTPOOL/$TESTVOL $DISKLIST" \
85 "$TESTPOOL/$TESTCTR $DISKLIST" "$TESTPOOL/$TESTVOL" \
86 "$TESTPOOL/$TESTCTR/$TESTFS1 $DISKLIST" "$TESTPOOL/$TESTVOL $DISKLIST" \
/src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_offline/
H A Dzpool_offline_002_neg.ksh52 "-t $TESTPOOL/$TESTCTR $DISKLIST" "-t $TESTPOOL/$TESTVOL" \
54 "-t $TESTPOOL/$TESTVOL $DISKLIST" \
58 "-f $TESTPOOL/$TESTCTR $DISKLIST" "-f $TESTPOOL/$TESTVOL" \
60 "-f $TESTPOOL/$TESTVOL $DISKLIST" \
65 "-ft $TESTPOOL/$TESTCTR $DISKLIST" "-ft $TESTPOOL/$TESTVOL" \
67 "-ft $TESTPOOL/$TESTVOL $DISKLIST" \
72 "-tf $TESTPOOL/$TESTCTR $DISKLIST" "-tf $TESTPOOL/$TESTVOL" \
74 "-tf $TESTPOOL/$TESTVOL $DISKLIST" \
78 "$TESTPOOL/$TESTCTR $DISKLIST" "$TESTPOOL/$TESTVOL" \
79 "$TESTPOOL/$TESTCTR/$TESTFS1 $DISKLIST" "$TESTPOOL/$TESTVOL $DISKLIST" \
/src/tests/sys/cddl/zfs/tests/zvol/zvol_misc/
H A Dzvol_misc_004_pos.ksh70 if datasetexists $TESTPOOL/$TESTVOL@$snap ; then
71 log_must $ZFS destroy $TESTPOOL/$TESTVOL@$snap
102 voldev=/dev/zvol/$TESTPOOL/$TESTVOL
107 log_must is_zvol_dumpified $TESTPOOL/$TESTVOL
109 verify_snapshot $TESTPOOL/$TESTVOL
112 log_mustnot is_zvol_dumpified $TESTPOOL/$TESTVOL
117 log_mustnot is_zvol_dumpified $TESTPOOL/$TESTVOL
119 verify_snapshot $TESTPOOL/$TESTVOL
122 log_mustnot is_zvol_dumpified $TESTPOOL/$TESTVOL
H A Dzvol_misc_002_pos.ksh57 snapexists $TESTPOOL/$TESTVOL@snap && \
58 $ZFS destroy $TESTPOOL/$TESTVOL@snap
67 $NEWFS /dev/zvol/$TESTPOOL/$TESTVOL >/dev/null 2>&1
68 (( $? != 0 )) && log_fail "Unable to newfs(1M) $TESTPOOL/$TESTVOL"
71 log_must $MOUNT /dev/zvol/$TESTPOOL/$TESTVOL $TESTDIR
81 log_must $ZFS snapshot $TESTPOOL/$TESTVOL@snap
82 log_must $FSCK -t ufs -n /dev/zvol/$TESTPOOL/$TESTVOL@snap >/dev/null 2>&1
H A Dzvol_misc_006_pos.ksh73 voldev=/dev/zvol/$TESTPOOL/$TESTVOL
76 typeset oblksize=$($ZFS get -H -o value volblocksize $TESTPOOL/$TESTVOL)
77 log_note "original $TESTPOOL/$TESTVOL volblocksize=$oblksize"
81 typeset blksize=$($ZFS get -H -o value volblocksize $TESTPOOL/$TESTVOL)
84 log_fail "ZFS volume $TESTPOOL/$TESTVOL volblocksize=$blksize"
/src/tests/sys/cddl/zfs/tests/cli_root/zfs_snapshot/
H A Dzfs_snapshot_001_neg.ksh68 "$TESTPOOL/$TESTVOL@blah*" "$TESTPOOL/$TESTVOL@blah?" \
69 "/$TESTPOOL/$TESTFS@$TESTSNAP" "/$TESTPOOL/$TESTVOL@$TESTSNAP" \
70 "@$TESTSNAP" "$TESTPOOL/$TESTFS@" "$TESTPOOL/$TESTVOL@" \
71 "$TESTPOOL//$TESTFS@$TESTSNAP" "$TESTPOOL//$TESTVOL@$TESTSNAP" \
72 "$TESTPOOL/$TESTFS/$TESTSNAP" "$TESTPOOL/$TESTVOL/$TESTSNAP" \
74 "$TESTPOOL/$TESTVOL@$TESTSNAP@$TESTSNAP1" \
H A Dzfs_snapshot_002_neg.ksh62 $TESTPOOL/$TESTCTR/$TESTVOL@$TESTSNAP;
68 datasetexists $TESTPOOL/$TESTCTR/$TESTVOL && \
69 log_must $ZFS destroy -rf $TESTPOOL/$TESTCTR/$TESTVOL
98 log_must $ZFS create -V $VOLSIZE $TESTPOOL/$TESTCTR/$TESTVOL
100 log_must $ZFS create $TESTPOOL/$TESTCTR/$TESTVOL
102 log_must $ZFS snapshot $TESTPOOL/$TESTCTR/$TESTVOL@$TESTSNAP
/src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/
H A Dzfs_snapshot_001_neg.ksh62 "$TESTPOOL/$TESTVOL@blah*" "$TESTPOOL/$TESTVOL@blah?" \
63 "/$TESTPOOL/$TESTFS@$TESTSNAP" "/$TESTPOOL/$TESTVOL@$TESTSNAP" \
64 "@$TESTSNAP" "$TESTPOOL/$TESTFS@" "$TESTPOOL/$TESTVOL@" \
65 "$TESTPOOL//$TESTFS@$TESTSNAP" "$TESTPOOL//$TESTVOL@$TESTSNAP" \
66 "$TESTPOOL/$TESTFS/$TESTSNAP" "$TESTPOOL/$TESTVOL/$TESTSNAP" \
68 "$TESTPOOL/$TESTVOL@$TESTSNAP@$TESTSNAP1" \
H A Dzfs_snapshot_002_neg.ksh55 $TESTPOOL/$TESTCTR/$TESTVOL@$TESTSNAP;
60 datasetexists $TESTPOOL/$TESTCTR/$TESTVOL && \
61 destroy_dataset $TESTPOOL/$TESTCTR/$TESTVOL -rf
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
/src/tests/sys/cddl/zfs/tests/cli_root/zfs_rename/
H A Dzfs_rename_004_neg.ksh64 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTVOL \
67 $TESTPOOL/$TESTCTR1 $TESTPOOL/$TESTVOL \
71 $TESTPOOL/$TESTCTR/$TESTFS1 $TESTPOOL/$TESTVOL \
75 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTCTR1 \
76 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTFS@snapshot \
77 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTFS1 \
78 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTCTR/$TESTFS1 \
80 $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTVOL \
/src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_rename/
H A Dzfs_rename_004_neg.ksh57 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTVOL \
60 $TESTPOOL/$TESTCTR1 $TESTPOOL/$TESTVOL \
64 $TESTPOOL/$TESTCTR/$TESTFS1 $TESTPOOL/$TESTVOL \
68 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTCTR1 \
69 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTFS@snapshot \
70 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTFS1 \
71 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTCTR/$TESTFS1 \
73 $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTVOL \
/src/tests/sys/cddl/zfs/tests/cli_root/zfs_set/
H A Dcanmount_001_pos.ksh63 "$TESTPOOL/$TESTVOL" "$TESTPOOL/$TESTFS@$TESTSNAP" \
64 "$TESTPOOL/$TESTVOL@$TESTSNAP" "$TESTPOOL/$TESTCLONE1"
67 "$TESTPOOL/$TESTFS@$TESTSNAP" "$TESTPOOL/$TESTVOL@$TESTSNAP"
78 if snapexists $TESTPOOL/$TESTVOL@$TESTSNAP ; then
79 log_must $ZFS destroy -R $TESTPOOL/$TESTVOL@$TESTSNAP
104 log_must $ZFS snapshot $TESTPOOL/$TESTVOL@$TESTSNAP
106 log_must $ZFS clone $TESTPOOL/$TESTVOL@$TESTSNAP $TESTPOOL/$TESTCLONE1
/src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/
H A Dcanmount_001_pos.ksh55 "$TESTPOOL/$TESTVOL" "$TESTPOOL/$TESTFS@$TESTSNAP" \
56 "$TESTPOOL/$TESTVOL@$TESTSNAP" "$TESTPOOL/$TESTCLONE1"
59 "$TESTPOOL/$TESTFS@$TESTSNAP" "$TESTPOOL/$TESTVOL@$TESTSNAP"
70 snapexists $TESTPOOL/$TESTVOL@$TESTSNAP && \
71 destroy_dataset $TESTPOOL/$TESTVOL@$TESTSNAP -R
89 log_must zfs snapshot $TESTPOOL/$TESTVOL@$TESTSNAP
91 log_must zfs clone $TESTPOOL/$TESTVOL@$TESTSNAP $TESTPOOL/$TESTCLONE1
/src/tests/sys/cddl/zfs/tests/cli_root/zpool_add/
H A Dzpool_add_004_pos.ksh63 datasetexists $TESTPOOL1/$TESTVOL && \
64 log_must $ZFS destroy -f $TESTPOOL1/$TESTVOL
78 log_must $ZFS create -V $VOLSIZE $TESTPOOL1/$TESTVOL
80 log_must $ZPOOL add "$TESTPOOL" /dev/zvol/$TESTPOOL1/$TESTVOL
82 log_must iscontained "$TESTPOOL" "/dev/zvol/$TESTPOOL1/$TESTVOL"
/src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/reservation/
H A Dreservation_016_pos.ksh59 datasetexists $TESTPOOL/$TESTVOL && \
60 destroy_dataset $TESTPOOL/$TESTVOL
79 log_must zfs create -V $vol_set_size $TESTPOOL/$TESTVOL
80 block_device_wait $TESTPOOL/$TESTVOL
94 log_must zfs destroy -f $TESTPOOL/$TESTVOL

1234567891011