Searched refs:snapshot (Results 26 - 50 of 212) sorted by relevance

123456789

/illumos-gate/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
H A Dzfs_receive_007_neg.ksh69 log_must zfs snapshot $snap1
71 log_must zfs snapshot $snap2
81 log_must zfs snapshot $snap1
H A Dzfs_receive_013_pos.ksh29 # 2. Send a deduplicated stream of the last snapshot
58 zfs snapshot $src_fs@base
62 zfs snapshot $src_fs@snap2
66 zfs snapshot $src_fs@snap3
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_share/
H A Dzfs_share_001_pos.ksh71 if snapexists "$TESTPOOL/$TESTFS@snapshot"; then
72 log_must zfs destroy -f $TESTPOOL/$TESTFS@snapshot
113 log_must zfs snapshot $TESTPOOL/$TESTFS@snapshot
114 log_must zfs clone $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTFS-clone
/illumos-gate/usr/src/test/zfs-tests/tests/functional/rsend/
H A Drsend_010_pos.ksh39 # 1. Recursively backup snapshot
41 # 3. Resend the snapshot again
51 log_must zfs snapshot $POOL2/$FS@snap
60 # In order to avoid 'zfs send -R' failed, create snapshot for
66 log_must zfs snapshot $item@snap
H A Drsend.kshlib72 log_must zfs snapshot $pool@psnap
79 log_must zfs snapshot $pool/$FS/vol@vsnap
85 log_must zfs snapshot -r $pool@init
98 log_must zfs snapshot $pool/vol@snapA
99 log_must zfs snapshot $pool/$FS/vol@snapB
100 log_must zfs snapshot $pool/$FS/vol@snapC
101 log_must zfs snapshot $pool/$FS/vclone@snapC
104 log_must zfs snapshot -r $pool@final
259 # Put data in filesystem and take snapshot
261 # $1 snapshot nam
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/snapshot/
H A Dsnapshot_009_pos.ksh33 . $STF_SUITE/tests/functional/snapshot/snapshot.cfg
37 # Verify 'snapshot -r' and 'destroy -r' can correctly create and destroy
38 # snapshot tree respectively.
41 # 1. Use the snapshot -r to create snapshot for top level pool
43 # 3. Use destroy -r to destroy the top level snapshot
69 log_assert "Verify snapshot -r can correctly create a snapshot tree."
85 log_must zfs snapshot
[all...]
H A Dsnapshot_015_pos.ksh34 . $STF_SUITE/tests/functional/snapshot/snapshot.cfg
39 # Verify snapshot can be created or destroy via mkdir or rm
40 # in .zfs/snapshot.
43 # 1. Verify make directories only successfully in .zfs/snapshot.
44 # 2. Verify snapshot can be created and destroy via mkdir and remove
45 # directories in .zfs/snapshot.
46 # 3. Verify rollback to previous snapshot can succeed.
47 # 4. Verify remove directory in snapdir can destroy snapshot.
66 log_assert "Verify snapshot ca
[all...]
H A Dsnapshot_001_pos.ksh33 . $STF_SUITE/tests/functional/snapshot/snapshot.cfg
37 # A zfs file system snapshot is identical to
38 # the originally snapshot'd file system, after the file
44 # 3. Create a snapshot of the dataset
46 # 5. Verify the snapshot and file agree
67 log_assert "Verify a file system snapshot is identical to original."
79 log_note "Create a snapshot and mount it..."
80 log_must zfs snapshot $SNAPFS
H A Dsnapshot_003_pos.ksh33 . $STF_SUITE/tests/functional/snapshot/snapshot.cfg
41 # 2) Create a snapshot of the dataset
43 # 4) Verify consistency of each snapshot directory
83 log_must zfs snapshot $SNAPFS.$i
H A Dsnapshot_004_pos.ksh33 . $STF_SUITE/tests/functional/snapshot/snapshot.cfg
37 # Create a null snapshot i.e. a snapshot created before file system
42 # 2. Take a snapshot of the empty file system.
44 # 4. Verify the snapshot is still empty
59 log_assert "Verify that a snapshot of an empty file system remains empty."
66 log_must zfs snapshot $SNAPFS
90 log_pass "The NULL snapshot remains empty."
H A Dsnapshot_005_pos.ksh33 . $STF_SUITE/tests/functional/snapshot/snapshot.cfg
37 # to the originally snapshot'd file system, after the file
43 # 3) Create a snapshot of the dataset
66 log_assert "Verify that a snapshot of a dataset is identical to " \
78 log_note "Create a snapshot and mount it..."
79 log_must zfs snapshot $SNAPCTR
H A Dsnapshot_008_pos.ksh33 . $STF_SUITE/tests/functional/snapshot/snapshot.cfg
79 log_must zfs snapshot $SNAPFS.$i
H A Dsnapshot_016_pos.ksh34 . $STF_SUITE/tests/functional/snapshot/snapshot.cfg
41 # 1. Create snapshot
42 # 2. Rename the snapshot via mv command
43 # 2. Verify destroying the renamed snapshot via 'zfs destroy' succeeds
71 log_must zfs snapshot $SNAPFS
75 log_fail "rename snapshot via mv in .zfs/snapshot fails."
80 log_must zfs snapshot $SNAPFS
85 log_fail "rename snapshot vi
[all...]
H A Drollback_001_pos.ksh33 . $STF_SUITE/tests/functional/snapshot/snapshot.cfg
37 # Populate a file system and take a snapshot. Add some more files to the
38 # file system and rollback to the last snapshot. Verify no post snapshot
44 # 3. Take a snapshot of the file system
47 # 6. Verify the snapshot and file system agree
62 log_assert "Verify that a rollback to a previous snapshot succeeds."
71 log_note "Populate the $TESTDIR directory (prior to snapshot)"
80 log_must zfs snapshot
[all...]
H A Dsnapshot_007_pos.ksh33 . $STF_SUITE/tests/functional/snapshot/snapshot.cfg
41 # 2) Create a snapshot of the dataset
43 # 4) For each snapshot directory verify consistency
87 log_must zfs snapshot $SNAPCTR.$i
H A Dsnapshot_011_pos.ksh33 . $STF_SUITE/tests/functional/snapshot/snapshot.cfg
37 # use 'snapshot -r' to create a snapshot tree, add some files to one child
38 # filesystem, rollback the child filesystem snapshot, verify that the child
39 # filesystem gets back to the status while taking the snapshot.
43 # 2. snapshot -r the parent filesystem
45 # 4. rollback the child filesystem snapshot
47 # snapshot'd
61 log_assert "Verify that rollback to a snapshot create
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/refreserv/
H A Drefreserv_003_pos.ksh37 # Verify a snapshot will only be allowed if there is enough free pool
42 # 2. Verify snapshot can be created, when used =< quota - refreserv
43 # 3. Verify failed to create snapshot, when used > quota - refreserv
55 log_assert "Verify a snapshot will only be allowed if there is enough " \
65 log_must zfs snapshot $fs@snap
68 log_must zfs snapshot $fs@snap2
71 log_mustnot zfs snapshot $fs@snap3
76 log_pass "Verify a snapshot will only be allowed if there is enough " \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_snapshot/
H A Dzfs_snapshot_009_pos.ksh19 # verify 'zfs snapshot <list of snapshots>' works correctly
24 # snapshot names
67 log_must zfs snapshot ${valid_args[i]}
77 log_mustnot zfs snapshot ${invalid_args[i]}
83 log_note "verify multiple snapshot transaction group"
91 log_note "verify snapshot contents"
93 status=$(dircmp /$ds /$ds/.zfs/snapshot/snap | grep "different")
94 [[ -z $status ]] || log_fail "snapshot contents are different from" \
103 log_note "verify multiple snapshot with -r option"
106 log_mustnot zfs snapshot
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_destroy/
H A Dzfs_destroy_015_pos.ksh24 # invalid snapshot names
39 log_assert "zfs destroy for multiple snapshot is handled correctly"
45 log_note "zfs destroy on valid snapshot names"
47 log_must zfs snapshot $TESTPOOL/$TESTFS1@snap$i
56 log_note "zfs destroy with all bogus snapshot names"
59 log_note "zfs destroy with some bogus snapshot names"
61 log_must zfs snapshot $TESTPOOL/$TESTFS1@snap$i
68 log_note "zfs destroy with some snapshot names having special characters"
70 log_must zfs snapshot $TESTPOOL/$TESTFS1@snap$i
79 log_must zfs snapshot
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/history/
H A Dhistory_004_pos.ksh61 zfs snapshot $TESTPOOL/$TESTFS1@snap &
62 zfs snapshot $TESTPOOL/$TESTFS2@snap &
63 zfs snapshot $TESTPOOL/$TESTFS3@snap &
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_send/
H A Dzfs_send_004_neg.ksh88 log_must zfs snapshot $snap1
91 log_must zfs snapshot $snap2
94 log_must zfs snapshot $snap3
/illumos-gate/usr/src/test/zfs-tests/tests/functional/zvol/zvol_misc/
H A Dzvol_misc_004_pos.ksh43 # 3. Verify creating a snapshot of the zvol succeeds.
75 log_must zfs snapshot $volume@snap0
76 log_must zfs snapshot $volume@snap1
80 log_must zfs snapshot $volume@snap1
94 # create snapshot over dump zvol
103 # create snapshot over swap zvol
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_promote/
H A Dzfs_promote_003_pos.ksh40 # 1. Create multiple snapshots and a clone to a middle point snapshot
82 snapdir=$TESTDIR/.zfs/snapshot
83 # The data which will exist in the snapshot after creation of snapshot
86 csnapdir=/$clone/.zfs/snapshot
87 # The data which will exist in the snapshot of clone filesystem after promote
96 log_must zfs snapshot ${snap[i]}
103 log_must zfs snapshot ${csnap[3]}
110 log_fail "The snapshot $ds disappear after zfs promote."
119 log_fail "zfs promote cannot promote the snapshot
[all...]
H A Dzfs_promote_004_pos.ksh85 c1snapdir=/$TESTPOOL/$TESTCLONE1/.zfs/snapshot
86 # The data which will exist in the snapshot of the second clone filesystem after promote
96 log_must zfs snapshot ${snap[i]}
107 log_must zfs snapshot ${csnap[i]}
115 log_must zfs snapshot ${c1snap[2]}
122 log_fail "The snapshot $ds disappear after zfs promote."

Completed in 167 milliseconds

123456789