Searched refs:snapshot (Results 151 - 175 of 212) sorted by relevance

123456789

/illumos-gate/usr/src/test/zfs-tests/tests/functional/userquota/
H A Duserquota_009_pos.ksh37 # Check user|group quota to snapshot that:
38 # 1) can not set user|group quota to snapshot directly
39 # 2) snapshot can inherit the parent fs's user|groupquota
44 # 1. create a snapshot of a fs
45 # 2. set the user|group quota to snapshot and expect fail
46 # 3. set user|group quota to fs and check the snapshot
47 # 4. re-set user|group quota to fs and check the snapshot's value
61 log_assert "Check the snapshot's user|group quota"
71 log_must zfs snapshot $snap_fs
73 log_note "check the snapshot
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/xattr/
H A Dxattr_005_pos.ksh59 # snapshot & clone the filesystem
60 log_must zfs snapshot $TESTPOOL/$TESTFS@snapshot1
H A Dxattr_007_neg.ksh35 # Creating and writing xattrs on files in snapshot directories fails. Also,
37 # xattrs when the snapshot was created (the xattr namespace wouldn't have been
58 log_assert "create/write xattr on a snapshot fails"
68 # snapshot the filesystem
69 log_must zfs snapshot $TESTPOOL/$TESTFS@snap
72 log_mustnot eval " runat $TESTDIR/.zfs/snapshot/snap/myfile.$$ \
76 log_must eval "runat $TESTDIR/.zfs/snapshot/snap/myfile2.$$ \
81 log_pass "create/write xattr on a snapshot fails"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/zvol/zvol_misc/
H A Dzvol_misc_002_pos.ksh37 # Verify that ZFS volume snapshot could be fscked
41 # 2. Copy some files and create snapshot
42 # 3. Verify fsck on the snapshot is OK
61 log_assert "Verify that ZFS volume snapshot could be fscked"
91 log_must zfs snapshot $TESTPOOL/$TESTVOL@snap
97 log_pass "Verify that ZFS volume snapshot could be fscked"
/illumos-gate/usr/src/cmd/stat/mpstat/
H A Dmpstat.c64 static void show_cpu_usage(struct snapshot *, struct snapshot *, int);
77 struct snapshot *old = NULL;
78 struct snapshot *new = NULL;
486 show_cpu_usage(struct snapshot *old, struct snapshot *new, int display_agg)
/illumos-gate/usr/src/uts/common/io/
H A Dopenprom.c65 #define IOC_IDLE 0 /* snapshot ioctl states */
66 #define IOC_SNAP 1 /* snapshot in progress */
67 #define IOC_DONE 2 /* snapshot done, but not copied out */
76 int16_t ioc_state; /* snapshot ioctl state */
77 char *snapshot; /* snapshot of all prom nodes */ member in struct:oprom_state
78 size_t size; /* size of snapshot */
273 ASSERT(st->snapshot == NULL && st->size == 0);
308 if (st->snapshot) {
309 kmem_free(st->snapshot, s
[all...]
/illumos-gate/usr/src/cmd/stat/vmstat/
H A Dvmstat.c43 static struct snapshot *ss;
51 static void dovmstats(struct snapshot *old, struct snapshot *new);
54 static void dointr(struct snapshot *ss);
60 struct snapshot *old = NULL;
242 dovmstats(struct snapshot *old, struct snapshot *new)
482 dointr(struct snapshot *ss)
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_destroy/
H A Dzfs_destroy_001_pos.ksh130 log_must zfs snapshot $dtst
141 log_must zfs snapshot $dtst
H A Dzfs_destroy_004_pos.ksh98 log_must zfs snapshot $snap
H A Dzfs_destroy_003_pos.ksh41 # 2. Create fs,vol,ctr,snapshot and clones of snapshot in the two datasets
42 # 3. Create clone in the second dataset for the snapshot in the first dataset
100 # Create children datasets fs,vol,snapshot in the datasets, and
113 log_must zfs snapshot $snap
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dzfs_receive_010_pos.ksh145 log_must zfs snapshot $fs@s1
146 log_must zfs snapshot $fs2@s1
H A Dzfs_receive_008_pos.ksh36 # Verifying 'zfs receive -vn [<filesystem|snapshot>]
69 log_assert "Verifying 'zfs receive -vn [<filesystem|snapshot>] " \
98 log_must zfs snapshot $orig_snap
105 log_note "Check ZFS receive $opt [<filesystem|snapshot>]"
147 log_pass "zfs receive -vn [<filesystem|snapshot>] and " \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rename/
H A Dzfs_rename_007_pos.ksh91 log_must zfs snapshot $snap
106 # Rename snapshot and re-clone dataset
125 log_must zfs snapshot $snap
140 # Rename snapshot and re-clone dataset
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rollback/
H A Dzfs_rollback_common.kshlib50 # system or volume, then make a snapshot or clone. Repeat up to three times.
52 # $1 number of snapshot. Note: Currently only support three snapshots.
122 # before taking a snapshot.
127 log_must zfs snapshot $snap
147 # $1 number of snapshot Note: Currently only support three snapshots.
226 # According to snapshot check if the file system was recovered to the right
229 # $1 snapshot. fs@snap or vol@snap
235 if [[ $(get_prop type $dtst) != snapshot ]]; then
236 log_fail "Parameter must be a snapshot."
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/
H A Dcanmount_002_pos.ksh38 # Whatever is set to volume or snapshot, it is failed.
42 # 1. Setup a pool and create fs, volume, snapshot clone within it.
106 log_must zfs snapshot $TESTPOOL/$TESTFS@$TESTSNAP
107 log_must zfs snapshot $TESTPOOL/$TESTVOL@$TESTSNAP
H A Dcanmount_003_pos.ksh41 # 1. Setup a pool and create fs, volume, snapshot clone within it.
89 log_must zfs snapshot $TESTPOOL/$TESTFS@$TESTSNAP
H A Dro_props_001_pos.ksh48 set -A values filesystem volume snapshot -3 0 1 50K 10G 80G \
76 # Create filesystem and volume's snapshot
89 if [[ $dst_type == 'snapshot' ]]; then
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_clone/
H A Dzfs_clone_001_neg.ksh93 log_must zfs snapshot $snap
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_unmount/
H A Dzfs_unmount_008_neg.ksh86 log_must zfs snapshot $snap
/illumos-gate/usr/src/test/zfs-tests/tests/functional/nopwrite/
H A Dnopwrite_mtime.ksh47 zfs snapshot $origin@a || log_fail "zfs snap failed"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/pool_names/
H A Dpool_names_001_pos.ksh108 log_must zfs snapshot $name/$name@$name
/illumos-gate/usr/src/cmd/svc/svcprop/
H A Dsvcprop.c111 static char *snapshot = "running"; /* Snapshot to use. */ variable
146 "[-C | -c | -s snapshot] [-z zone] "
345 * Iterate the properties of a service or an instance when no snapshot
357 * lookup. (implicit cflag) However, if a snapshot
375 * Return a snapshot for the supplied instance and snapshot name.
378 get_snapshot(const scf_instance_t *inst, const char *snapshot) argument
385 if (scf_instance_get_snapshot(inst, snapshot, snap) == -1) {
388 die(gettext("Invalid snapshot name.\n"));
396 die(gettext("No such snapshot
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_property/
H A Dzfs_written_property_001_pos.ksh30 # d) Delete snapshot
72 log_must zfs snapshot $TESTPOOL/$TESTFS1@snap$i
89 # Written value for the frist non-clone snapshot is
170 log_note "deleted snapshot"
193 log_fail "Unexpected last snapshot written value"
197 log_must zfs snapshot -r $TESTPOOL/$TESTFS1@now
214 log_must zfs snapshot $ds@current
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Ddsl_prop.h84 boolean_t snapshot);
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_send/
H A Dzfs_send_002_pos.ksh71 log_must zfs snapshot $snap
114 snapdir=".zfs/snapshot/$TESTSNAP"

Completed in 167 milliseconds

123456789