Searched refs:ZFS (Results 201 - 225 of 514) sorted by relevance

1234567891011>>

/freebsd-12-stable/tests/sys/cddl/zfs/tests/zvol/zvol_misc/
H A Dzvol_misc_007_pos.ksh74 log_assert "Verify that ZFS volume device nodes are handled properly (part 1)."
85 log_must $ZFS list -t all
95 log_must $ZFS create $rootds
97 log_must $ZFS create $rootds/$dir
100 log_must $ZFS create -V 100M $rootds/$vol
113 log_must $ZFS snapshot -r $root@$cur
119 log_must $ZFS rename -r $root@$cur $root@$next
127 log_must $ZFS destroy -r $root
133 log_pass "ZFS volume device nodes are handled properly."
H A Dzvol_misc_008_pos.ksh69 log_assert "Verify that ZFS volume device nodes are handled properly (part 2)."
79 log_must $ZFS list -t all
89 log_must $ZFS create $rootds
91 log_must $ZFS create $rootds/$dir
94 log_must $ZFS create -V 100M $rootds/$vol
118 log_must $ZFS snapshot -r $root@snap
119 log_must $ZFS clone $root/vol0@snap $root/vol1
123 log_must $ZFS promote $root/vol1
128 log_must $ZFS promote $root/vol0
133 log_must $ZFS snapsho
[all...]
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_root/zfs_destroy/
H A Dzfs_destroy_common.kshlib54 log_must $ZFS create $CTR
57 log_must $ZFS create $FS
61 log_must $ZFS create -V $VOLSIZE $VOL
72 log_must $ZFS snapshot $FSSNAP
75 log_must $ZFS snapshot $VOLSNAP
81 log_must $ZFS clone $FSSNAP $FSCLONE
84 log_must $ZFS clone $VOLSNAP $VOLCLONE
124 $ZFS list -t all -r $TESTPOOL
140 log_must $ZFS destroy -Rf $CTR
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_root/zfs_create/
H A Dzfs_create_006_pos.ksh43 # 'zfs create -o property=value -V size volume' can successfully create a ZFS
47 # 1. Create a ZFS volume in the storage pool with -o option
66 log_must $ZFS destroy -f $TESTPOOL/$TESTVOL1
73 create a ZFS volume with correct property set."
83 log_must $ZFS create -o ${RW_VOL_PROP[$i]} -V $VOLSIZE \
89 log_must $ZFS destroy -f $TESTPOOL/$TESTVOL1
91 log_must $ZFS create -s -o ${RW_VOL_PROP[$i]} -V $VOLSIZE \
97 log_must $ZFS destroy -f $TESTPOOL/$TESTVOL1
103 create a ZFS volume with correct property set."
H A Dzfs_create_004_pos.ksh43 # 'zfs create -o property=value filesystem' can successfully create a ZFS
47 # 1. Create a ZFS filesystem in the storage pool with -o option
66 log_must $ZFS destroy -f $TESTPOOL/$TESTFS1
73 a ZFS filesystem with correct property set."
82 log_must $ZFS create -o ${RW_FS_PROP[$i]} $TESTPOOL/$TESTFS1
87 log_must $ZFS destroy -f $TESTPOOL/$TESTFS1
92 a ZFS filesystem with correct property set."
H A Dzfs_create_008_neg.ksh62 log_must $ZFS destroy -f $TESTPOOL/$TESTFS1
108 log_mustnot $ZFS create ${args[i]} $TESTPOOL/$TESTFS1
109 log_mustnot $ZFS create -p ${args[i]} $TESTPOOL/$TESTFS1
H A Dzfs_create_012_pos.ksh65 ZFS_VERSION=$($ZFS upgrade | $HEAD -1 | $AWK '{print $NF}' \
73 log_must $ZFS destroy -rf $TESTPOOL/$TESTFS1
84 log_must $ZFS create -p -o version=1 $newdataset1
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_root/zfs_inherit/
H A Dzfs_inherit_003_pos.ksh65 log_must $ZFS destroy $ds@$TESTSNAP
78 log_must eval "$ZFS set $prop_name='$value' $ds"
80 log_must $ZFS snapshot $ds@$TESTSNAP
90 log_must eval "$ZFS set $prop_name='$snapvalue' $ds@$TESTSNAP"
92 log_must $ZFS inherit $prop_name $ds@$TESTSNAP
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_root/zfs_set/
H A Duser_property_004_pos.ksh64 log_must $ZFS destroy -f $fssnap
98 log_must eval "$ZFS set $prop_name='$value' $fs"
101 log_must $ZFS snapshot $fssnap
106 log_must eval "$ZFS set $prop_name='$value' $fssnap"
110 log_mustnot eval "$ZFS set $prop_name='$value' $fssnap"
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_root/zfs_snapshot/
H A Dzfs_snapshot_004_neg.ksh41 # Verify recursive snapshotting could not break ZFS.
45 # 2. Verify zfs snapshot -r pool@snap will not break ZFS
62 log_must $ZFS destroy -rf $initfs
66 log_assert "Verify recursive snapshotting could not break ZFS."
73 $ZFS create $basefs
74 $ZFS snapshot $basefs@snap1
87 log_must $ZFS destroy -r $basefs
94 log_note "ZFS snapshot suceeded. len: $len"
103 log_mustnot $ZFS snapshot -r $TESTPOOL@$snap
111 log_pass "Verify recursive snapshotting could not break ZFS
[all...]
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_root/zfs_upgrade/
H A Dzfs_upgrade_003_pos.ksh65 log_must $ZFS destroy -Rf $rootfs
67 log_must $ZFS create $rootfs
79 log_must $ZFS create -o version=${version} ${current_fs}
80 log_must $ZFS snapshot ${current_snap}
81 log_must $ZFS clone ${current_snap} ${current_clone}
108 log_must eval '$ZFS upgrade $opt $fs > /dev/null 2>&1'
111 log_mustnot eval '$ZFS upgrade $opt $fs > /dev/null 2>&1'
/freebsd-12-stable/tests/sys/cddl/zfs/tests/snapshot/
H A Dsnapshot_013_pos.ksh64 $ZFS destroy -r $ctrfs
67 log_must $ZFS destroy -r $snappool
93 log_must $ZFS snapshot -r $snappool
95 $ZFS send $snapfs | $ZFS receive $ctrfs >/dev/null 2>&1
/freebsd-12-stable/tests/sys/cddl/zfs/tests/snapused/
H A Dsnapused_003_pos.ksh69 log_must $ZFS destroy -rR $USEDTEST
75 log_must $ZFS create $USEDTEST
86 log_must $ZFS snapshot -r $USEDTEST@snap$i
88 log_must $ZFS clone $USEDTEST@snap$i $USEDTEST/cln$i
89 log_must $ZFS set is:cloned=yes $USEDTEST/cln$i
/freebsd-12-stable/tests/sys/cddl/zfs/tests/xattr/
H A Dxattr_005_pos.ksh61 log_must $ZFS destroy $TESTPOOL/$TESTFS/clone
62 log_must $ZFS destroy $TESTPOOL/$TESTFS@snapshot1
74 log_must $ZFS snapshot $TESTPOOL/$TESTFS@snapshot1
75 log_must $ZFS clone $TESTPOOL/$TESTFS@snapshot1 $TESTPOOL/$TESTFS/clone
76 log_must $ZFS set mountpoint=$TESTDIR/clone $TESTPOOL/$TESTFS/clone
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_root/zfs_get/
H A Dzfs_get_004_pos.ksh61 $ZFS get all >/dev/null 2>&1
62 (( $? != 0 )) && log_unsupported "ZFS get all option is unsupported."
70 log_must $ZFS destroy $clone
73 log_must $ZFS destroy $snap
87 log_must $ZFS destroy -rf $fs
114 log_must $ZFS set $usrprop $TESTPOOL
117 log_must $ZFS snapshot $fssnap
118 log_must $ZFS clone $fssnap $clone
119 log_must $ZFS snapshot $volsnap
147 log_must $ZFS creat
[all...]
/freebsd-12-stable/tests/sys/cddl/zfs/tests/acl/nontrivial/
H A Dzfs_acl_chmod_002_pos.ksh63 log_must $ZFS destroy -rR $ACL_UPGRADE_FS
73 log_must $ZFS create -o version=2 $ACL_UPGRADE_FS
77 log_must $ZFS upgrade $ACL_UPGRADE_FS
/freebsd-12-stable/tests/sys/cddl/zfs/tests/bootfs/
H A Dbootfs_008_neg.ksh83 log_must $ZFS create $COMP_FS
90 log_must $ZFS set compression=${gtype[i]} $COMP_FS
92 log_must $ZFS set compression=off $COMP_FS
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_root/zfs_clone/
H A Dzfs_clone_002_pos.ksh70 log_must $ZFS snapshot $snap
81 log_must $ZFS destroy -rRf $TESTPOOL/notexist
86 log_must $ZFS destroy -Rf $snap
H A Dzfs_clone_004_pos.ksh43 # 'zfs clone -o property=value filesystem' can successfully create a ZFS
47 # 1. Create a ZFS clone filesystem in the storage pool with multiple -o options
66 log_must $ZFS destroy -Rf $SNAPFS
77 "a ZFS clone filesystem with multiple properties set."
82 log_must $ZFS snapshot $SNAPFS
92 log_must $ZFS clone $opts $SNAPFS $TESTPOOL/$TESTCLONE
107 "a ZFS clone filesystem with multiple properties set."
H A Dzfs_clone_006_pos.ksh43 # 'zfs clone -o property=value volume' can successfully create a ZFS
47 # 1. Create a ZFS clone volume in the storage pool with -o option
66 log_must $ZFS destroy -Rf $SNAPFS1
77 "create a ZFS clone volume with multiple correct properties set."
82 log_must $ZFS snapshot $SNAPFS1
92 log_must $ZFS clone $opts $SNAPFS1 $TESTPOOL/$TESTCLONE
105 "create a ZFS clone volume with multiple correct properties set."
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_root/zfs_unmount/
H A Dzfs_unmount_002_pos.ksh48 # 1. Make sure that the non-existent ZFS filesystem|mountpoint
87 log_mustnot $ZFS list ${dev[j]}
99 log_assert "Verify that '$ZFS $unmountcmd [-f] <filesystem|mountpoint>' " \
111 log_pass "'$ZFS $unmountcmd [-f] <filesystem|mountpoint>' " \
H A Dzfs_unmount_003_pos.ksh48 # 1. Make sure that the ZFS filesystem is mounted.
89 log_must $ZFS set mountpoint=$mopt ${dev[0]}
103 log_assert "Verify that '$ZFS $unmountcmd [-f] <filesystem|mountpoint>' " \
121 log_pass "'$ZFS $unmountcmd [-f] <filesystem|mountpoint>' " \
H A Dzfs_unmount_004_pos.ksh48 # 1. Make sure that the ZFS filesystem is mounted.
88 log_must $ZFS $unmountforce ${dev[j]}
100 log_assert "Verify that '$ZFS $unmountcmd [-f] <filesystem|mountpoint>' " \
112 log_pass "'$ZFS $unmountcmd [-f] <filesystem|mountpoint>' " \
H A Dzfs_unmount_005_pos.ksh50 # 1. Make sure that the ZFS filesystem is mounted.
89 log_must $ZFS $mountcmd ${dev[0]}
106 log_assert "Verify that '$ZFS $unmountcmd <filesystem|mountpoint>' " \
125 log_pass "'$ZFS $unmountcmd <filesystem|mountpoint>' " \
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_user/zfs_list/
H A Dzfs_list_006_pos.ksh87 run_unprivileged $ZFS list -r -H -o name $pool | $GREP -q '@' && \
90 run_unprivileged $ZFS list -r -H -o name $pool | $GREP -q '@' || \
97 run_unprivileged $ZFS list -r -H -o name ${hide_options[i]} $pool | \
107 run_unprivileged $ZFS list -r -H -o name ${show_options[i]} $pool | \
113 output=$(run_unprivileged $ZFS list -H -o name $BASEFS/${dataset}@snap)
119 output=$(run_unprivileged $ZFS list -H -o name $BASEFS/${dataset}-vol@snap)

Completed in 142 milliseconds

1234567891011>>