Home
last modified time | relevance | path

Searched refs:snapshot (Results 1 – 25 of 225) sorted by relevance

123456789

/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rename/
H A Dzfs_rename_004_neg.ksh53 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTFS@snapshot \
55 $TESTPOOL/$TESTCTR1 $TESTPOOL/$TESTFS@snapshot \
59 $TESTPOOL/$TESTCTR/$TESTFS1 $TESTPOOL/$TESTFS@snapshot \
63 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTFS@snapshot \
66 $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTCTR1 \
67 $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTVOL \
68 $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTFS1 \
69 $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTCTR/$TESTFS1 \
75 $TESTPOOL/$TESTFS@snapshot \
76 $TESTPOOL/$TESTFS@snapshot/fs
[all …]
H A Dzfs_rename.kshlib40 if ! snapexists $TESTPOOL/$TESTFS@snapshot; then
41 log_must $ZFS snapshot $TESTPOOL/$TESTFS@snapshot
42 log_must $ZFS clone $TESTPOOL/$TESTFS@snapshot \
108 if snapexists $TESTPOOL/$TESTFS@snapshot; then
109 log_must $ZFS destroy -fR $TESTPOOL/$TESTFS@snapshot
/titanic_50/usr/src/test/zfs-tests/tests/functional/rsend/
H A Drsend.kshlib71 log_must $ZFS snapshot $pool@psnap
78 log_must $ZFS snapshot $pool/$FS/vol@vsnap
84 log_must $ZFS snapshot -r $pool@init
97 log_must $ZFS snapshot $pool/vol@snapA
98 log_must $ZFS snapshot $pool/$FS/vol@snapB
99 log_must $ZFS snapshot $pool/$FS/vol@snapC
100 log_must $ZFS snapshot $pool/$FS/vclone@snapC
103 log_must $ZFS snapshot -r $pool@final
121 typeset list=$($ZFS list -H -r -t filesystem,snapshot,volume -o name $pool)
158 $ZFS list -r -H -t filesystem,snapshot,volume -o name $src_fs > $BACKDIR/src1
[all …]
/titanic_50/usr/src/test/zfs-tests/tests/functional/snapshot/
H A Dsnapshot_017_pos.ksh34 . $STF_SUITE/tests/functional/snapshot/snapshot.cfg
164 log_must $ZFS snapshot $TESTPOOL/$TESTFS@snap_a
165 log_must $ZFS snapshot $TESTPOOL/$TESTFS@snap_b
178 verify_dir $TESTDIR/.zfs/snapshot
179 verify_dir $TESTDIR/.zfs/snapshot/snap_a
180 verify_dir $TESTDIR/.zfs/snapshot/snap_b
182 cd $TESTDIR/.zfs/snapshot/snap_a
185 cd $TESTDIR/.zfs/snapshot/snap_b
189 verify_dir snapshot
190 cd $TESTDIR/.zfs/snapshot
H A Dsnapshot_002_pos.ksh33 . $STF_SUITE/tests/functional/snapshot/snapshot.cfg
105 log_must $ZFS snapshot $SNAPFS
113 log_must $TAR cf $TESTDIR/tarball.snapshot.tar file*
117 log_must $MKDIR $TESTDIR/snapshot
123 cd $TESTDIR/snapshot || log_fail "Could not cd $TESTDIR/snapshot"
124 log_must $TAR xf $TESTDIR/tarball.snapshot.tar
128 $DIRCMP $TESTDIR/original $TESTDIR/snapshot > /tmp/zfs_snapshot2.$$
H A Dsnapshot_006_pos.ksh33 . $STF_SUITE/tests/functional/snapshot/snapshot.cfg
103 log_must $ZFS snapshot $SNAPCTR
111 log_must $TAR cf $TESTDIR1/tarball.snapshot.tar file*
115 log_must $MKDIR $TESTDIR1/snapshot
121 cd $TESTDIR1/snapshot || log_fail "Could not cd $TESTDIR1/snapshot"
122 log_must $TAR xf $TESTDIR1/tarball.snapshot.tar
126 $DIRCMP $TESTDIR1/original $TESTDIR1/snapshot > /tmp/zfs_snapshot2.$$
H A Drollback_003_pos.ksh34 . $STF_SUITE/tests/functional/snapshot/snapshot.cfg
82 log_must $ZFS snapshot $SNAPPOOL
84 log_mustnot $ZFS snapshot $SNAPPOOL
94 log_must $ZFS snapshot $TESTPOOL/$TESTFILE@$TESTSNAP
95 log_must $ZFS snapshot $SNAPPOOL.1
H A Dsnapshot_016_pos.ksh34 . $STF_SUITE/tests/functional/snapshot/snapshot.cfg
71 log_must $ZFS snapshot $SNAPFS
80 log_must $ZFS snapshot $SNAPFS
94 log_must $ZFS snapshot $SNAPFS
H A Dsnapshot_010_pos.ksh33 . $STF_SUITE/tests/functional/snapshot/snapshot.cfg
80 log_must $ZFS snapshot $ctrfs@$TESTSNAP1
87 log_must $ZFS snapshot -r $snappool
H A Dsnapshot_012_pos.ksh33 . $STF_SUITE/tests/functional/snapshot/snapshot.cfg
85 log_must $ZFS snapshot $ctrfs@$TESTSNAP1
89 log_must $ZFS snapshot -r $snapctr
H A Dsnapshot_013_pos.ksh33 . $STF_SUITE/tests/functional/snapshot/snapshot.cfg
71 snapdir=$fsdir/.zfs/snapshot/$TESTSNAP
87 log_must $ZFS snapshot -r $snappool
H A Dsnapshot_015_pos.ksh34 . $STF_SUITE/tests/functional/snapshot/snapshot.cfg
89 log_must $MKDIR $snapdir/snapshot/snap.$cnt
118 log_must $RMDIR $snapdir/snapshot/snap.$cnt
H A Dsnapshot_009_pos.ksh33 . $STF_SUITE/tests/functional/snapshot/snapshot.cfg
85 log_must $ZFS snapshot $ctrfs@$TESTSNAP1
93 log_must $ZFS snapshot -r $snappool
H A Drollback_002_pos.ksh33 . $STF_SUITE/tests/functional/snapshot/snapshot.cfg
84 log_must $ZFS snapshot $SNAPFS
101 log_must $ZFS snapshot $SNAPFS.1
/titanic_50/usr/src/cmd/stat/common/
H A Dstatcommon.h213 struct snapshot { struct
263 int nr_active_cpus(struct snapshot *ss);
281 struct snapshot *acquire_snapshot(kstat_ctl_t *, int, struct iodev_filter *);
284 void free_snapshot(struct snapshot *ss);
296 int snapshot_walk(enum snapshot_types type, struct snapshot *old,
297 struct snapshot *new, snapshot_cb cb, void *data);
303 void snapshot_report_changes(struct snapshot *old, struct snapshot *new);
306 int snapshot_has_changed(struct snapshot *old, struct snapshot *new);
312 int acquire_iodevs(struct snapshot *ss, kstat_ctl_t *kc,
H A Dwalkers.c40 cpu_walk(struct snapshot *old, struct snapshot *new, in cpu_walk()
73 pset_walk(struct snapshot *old, struct snapshot *new, in pset_walk()
155 snapshot_walk(enum snapshot_types type, struct snapshot *old, in snapshot_walk()
156 struct snapshot *new, snapshot_cb cb, void *data) in snapshot_walk()
332 snapshot_report_changes(struct snapshot *old, struct snapshot *new) in snapshot_report_changes()
373 snapshot_has_changed(struct snapshot *old, struct snapshot *new) in snapshot_has_changed()
/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_share/
H A Dzfs_share_004_pos.ksh50 if snapexists $TESTPOOL/$TESTFS@snapshot; then
51 log_must $ZFS destroy $TESTPOOL/$TESTFS@snapshot
77 log_must $LS -l $mntp/$SNAPROOT/snapshot
87 log_must $LS -l $mntp/$SNAPROOT/snapshot
93 log_must $ZFS snapshot $TESTPOOL/$TESTFS@snapshot
H A Dzfs_share_001_pos.ksh68 log_must $ZFS destroy -f $TESTPOOL/$TESTFS@snapshot
109 log_must $ZFS snapshot $TESTPOOL/$TESTFS@snapshot
110 log_must $ZFS clone $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTFS-clone
/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_snapshot/
H A Dzfs_snapshot_003_neg.ksh51 log_mustnot $ZFS snapshot $opt $ds@$TESTSNAP
54 log_mustnot $ZFS snapshot $ds@snap $ds@snap1
55 log_mustnot $ZFS snapshot -r $ds@snap $ds@snap1
57 log_mustnot $ZFS snapshot $ds@$l_name
58 log_mustnot $ZFS snapshot -r $ds@$l_name
H A Dzfs_snapshot_002_neg.ksh70 log_must $ZFS snapshot $TESTPOOL/$TESTCTR/$TESTFS1@$TESTSNAP
75 log_mustnot $ZFS snapshot -r ${args[i]}
89 log_must $ZFS snapshot $TESTPOOL/$TESTCTR/$TESTVOL@$TESTSNAP
91 log_mustnot $ZFS snapshot -r $TESTPOOL/$TESTCTR@$TESTSNAP
H A Dzfs_snapshot_009_pos.ksh67 log_must $ZFS snapshot ${valid_args[i]}
77 log_mustnot $ZFS snapshot ${invalid_args[i]}
93 status=$($DIRCMP /$ds /$ds/.zfs/snapshot/snap | $GREP "different")
106 log_mustnot $ZFS snapshot -r $TESTPOOL/$TESTFS1@snap1 $TESTPOOL/$TESTFS2@snap1 \
110 log_must $ZFS snapshot -r $TESTPOOL/$TESTFS1@snap1 $TESTPOOL/$TESTFS2@snap1 \
/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_unshare/
H A Dzfs_unshare_003_pos.ksh48 if snapexists $TESTPOOL/$TESTFS@snapshot; then
49 log_must $ZFS destroy $TESTPOOL/$TESTFS@snapshot
80 not_shared $mntp@snapshot || \
87 log_must $ZFS snapshot $TESTPOOL/$TESTFS@snapshot
/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_destroy/
H A Dzfs_destroy_015_pos.ksh47 log_must $ZFS snapshot $TESTPOOL/$TESTFS1@snap$i
61 log_must $ZFS snapshot $TESTPOOL/$TESTFS1@snap$i
70 log_must $ZFS snapshot $TESTPOOL/$TESTFS1@snap$i
79 log_must $ZFS snapshot $TESTPOOL/$TESTFS1@snap$i
90 log_must $ZFS snapshot $TESTPOOL/$TESTFS1@snap$i
103 log_must $ZFS snapshot $TESTPOOL/$TESTFS1@snap$i
119 log_must $ZFS snapshot $TESTPOOL/$TESTFS2@fs2snap
121 log_must $ZFS snapshot $TESTPOOL/$TESTFS1/$TESTFS2@fs12snap
147 log_must $ZFS snapshot $TESTPOOL2/$TESTFS1@snap
155 log_must $ZFS snapshot $TESTPOOL2/$TESTFS1@snap
/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_unmount/
H A Dzfs_unmount_009_pos.ksh76 log_must $ZFS snapshot $TESTPOOL/$TESTFS@$TESTSNAP
77 log_must cd .zfs/snapshot/$TESTSNAP
91 log_must $ZFS snapshot $snap
92 log_must cd .zfs/snapshot/$TESTSNAP
101 log_must cd .zfs/snapshot/$TESTSNAP
/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dzfs_receive_004_neg.ksh75 log_must $ZFS snapshot $init_topsnap
79 log_must $ZFS snapshot $inc_topsnap
83 log_must $ZFS snapshot $init_snap
87 log_must $ZFS snapshot $inc_snap

123456789