/illumos-gate/usr/src/test/zfs-tests/tests/functional/userquota/ |
H A D | userquota_009_pos.ksh | 37 # 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 D | xattr_005_pos.ksh | 59 # snapshot & clone the filesystem 60 log_must zfs snapshot $TESTPOOL/$TESTFS@snapshot1
|
H A D | xattr_007_neg.ksh | 35 # 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 D | zvol_misc_002_pos.ksh | 37 # 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 D | mpstat.c | 64 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 D | openprom.c | 65 #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 D | vmstat.c | 43 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 D | zfs_destroy_001_pos.ksh | 130 log_must zfs snapshot $dtst 141 log_must zfs snapshot $dtst
|
H A D | zfs_destroy_004_pos.ksh | 98 log_must zfs snapshot $snap
|
H A D | zfs_destroy_003_pos.ksh | 41 # 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 D | zfs_receive_010_pos.ksh | 145 log_must zfs snapshot $fs@s1 146 log_must zfs snapshot $fs2@s1
|
H A D | zfs_receive_008_pos.ksh | 36 # 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 D | zfs_rename_007_pos.ksh | 91 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 D | zfs_rollback_common.kshlib | 50 # 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 D | canmount_002_pos.ksh | 38 # 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 D | canmount_003_pos.ksh | 41 # 1. Setup a pool and create fs, volume, snapshot clone within it. 89 log_must zfs snapshot $TESTPOOL/$TESTFS@$TESTSNAP
|
H A D | ro_props_001_pos.ksh | 48 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 D | zfs_clone_001_neg.ksh | 93 log_must zfs snapshot $snap
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_unmount/ |
H A D | zfs_unmount_008_neg.ksh | 86 log_must zfs snapshot $snap
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/nopwrite/ |
H A D | nopwrite_mtime.ksh | 47 zfs snapshot $origin@a || log_fail "zfs snap failed"
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/pool_names/ |
H A D | pool_names_001_pos.ksh | 108 log_must zfs snapshot $name/$name@$name
|
/illumos-gate/usr/src/cmd/svc/svcprop/ |
H A D | svcprop.c | 111 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 D | zfs_written_property_001_pos.ksh | 30 # 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 D | dsl_prop.h | 84 boolean_t snapshot);
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_send/ |
H A D | zfs_send_002_pos.ksh | 71 log_must zfs snapshot $snap 114 snapdir=".zfs/snapshot/$TESTSNAP"
|