Searched refs:promote (Results 1 - 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_promote/
H A Dzfs_promote_005_pos.ksh36 # The original fs was unmounted, 'zfs promote' still should succeed.
41 # 3. Unmount fs, then verify 'zfs promote' clone still succeed.
53 log_must zfs promote $fs
59 log_assert "The original fs was unmounted, 'zfs promote' still should succeed."
69 log_must zfs promote $clone
71 log_must zfs promote $fs
73 log_pass "Unmount original fs, 'zfs promote' passed."
H A Dzfs_promote_008_pos.ksh36 # 'zfs promote' can successfully promote a volume clone.
49 log_must zfs promote $vol
55 log_assert "'zfs promote' can promote a volume clone."
68 log_must zfs promote $clone
70 # verify the 'promote' operation
72 log_fail "Snapshot $csnap doesn't exist after zfs promote."
74 log_fail "Snapshot $snap is still there after zfs promote."
83 log_pass "'zfs promote' ca
[all...]
H A Dzfs_promote_001_pos.ksh37 # 'zfs promote' can promote a clone filesystem to no longer be dependent
51 log_must zfs promote $fs
74 log_fail "zfs promote cannot promote $ds@$TESTSNAP."
76 log_fail "The $c_ds@$TESTSNAP after zfs promote doesn't exist."
89 log_fail "There exists data file losing after zfs promote."
95 log_assert "'zfs promote' can promote a clone filesystem."
116 log_must zfs promote
[all...]
H A Dzfs_promote_006_neg.ksh36 # 'zfs promote' will fail with invalid arguments:
46 # 2. For each invalid argument in the array, 'zfs promote' should fail
47 # 3. Verify the return code from zfs promote
70 log_assert "'zfs promote' will fail with invalid arguments. "
80 log_mustnot zfs promote ${args[i]}
85 log_pass "'zfs promote' fails with invalid argument as expected."
H A Dzfs_promote_002_pos.ksh37 # 'zfs promote' can deal with multiple snapshots in the origin filesystem.
50 log_must zfs promote $fs
63 log_assert "'zfs promote' can deal with multiple snapshots in a filesystem."
73 # setup for promote testing
82 log_must zfs promote $clone
84 # verify the 'promote' operation
87 log_fail "Snapshot $ds doesn't exist after zfs promote."
91 log_fail "Snapshot $ds is still there after zfs promote."
101 log_pass "'zfs promote' deal with multiple snapshots as expected."
H A Dzfs_promote_003_pos.ksh37 # 'zfs promote' can deal with multi-point snapshots.
51 log_must zfs promote $fs
66 log_assert "'zfs promote' can deal with multi-point snapshots."
76 # Array which stores the snapshots existing in the clone after promote operation
87 # The data which will exist in the snapshot of clone filesystem after promote
91 # setup for promote testing
105 log_must zfs promote $clone
107 # verify the 'promote' operation
110 log_fail "The snapshot $ds disappear after zfs promote."
114 log_fail "The data file $data loses after zfs promote
[all...]
H A Dzfs_promote_004_pos.ksh37 # 'zfs promote' can deal with multi-level clones.
50 log_must zfs promote $clone
64 log_assert "'zfs promote' can deal with multi-level clone."
77 # Array which stores the snapshots existing in the second clone after promote operation
86 # The data which will exist in the snapshot of the second clone filesystem after promote
91 # setup for promote testing
117 log_must zfs promote $clone1
119 # verify the 'promote' operation
122 log_fail "The snapshot $ds disappear after zfs promote."
126 log_fail "The data file $data loses after zfs promote
[all...]
H A Dzfs_promote_007_neg.ksh37 # 'zfs promote' can deal with conflicts in the namespaces.
43 # 4. Verify the promote operation fail due to the name conflicts.
59 log_assert "'zfs promote' can deal with name conflicts."
75 log_mustnot zfs promote $clone
77 log_pass "'zfs promote' deals with name conflicts as expected."
/illumos-gate/usr/src/test/zfs-tests/tests/functional/rsend/
H A Drsend_008_pos.ksh36 # Changes made by 'zfs promote' can be properly received.
39 # 1. Seperatly promote pool clone, filesystem clone and volume clone.
63 log_must zfs promote ${dtst[$i]}
71 log_must zfs promote $POOL2
76 log_assert "Changes made by 'zfs promote' can be properly received."
81 log_must zfs promote ${dtst[((i+1))]}
122 log_must zfs promote $dstds
124 log_must zfs promote $dstds/$FS/vol
126 log_must zfs promote $dstds/$FS/fs1/fs2
128 log_pass "Changes made by 'zfs promote' ca
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_user/misc/
H A Dzfs_promote_001_neg.ksh38 # zfs promote returns an error when run as a user
42 # 1. Verify we don't have permissions to promote a clone
46 log_assert "zfs promote returns an error when run as a user"
48 log_mustnot zfs promote $TESTPOOL/$TESTFS/clone
56 log_pass "zfs promote returns an error when run as a user"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/snapshot/
H A Dsnapshot_012_pos.ksh44 # 3. promote the clone
48 # 7. promote the clone
57 log_must zfs promote $ctrfs
65 log_must zfs promote $ctrfs
70 log_assert "Verify that 'snapshot -r' can work with 'zfs promote'."
87 log_must zfs promote $clone
95 log_must zfs promote $clone1
100 log_fail "'zfs promote' fails to promote $clone which is cloned from \
104 log_pass "'snapshot -r' can work with 'zfs promote' a
[all...]
H A Dsnapshot_016_pos.ksh86 log_must zfs promote $TESTPOOL/$TESTCLONE
87 # promote back to $TESTPOOL/$TESTFS for scenario 3
88 log_must zfs promote $TESTPOOL/$TESTFS
97 log_must zfs promote $TESTPOOL/$TESTCLONE
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_destroy/
H A Dzfs_destroy_007_neg.ksh52 log_must zfs promote $fs
72 log_must zfs promote $clone
/illumos-gate/usr/src/test/zfs-tests/tests/functional/history/
H A Dhistory_004_pos.ksh73 zfs promote $TESTPOOL/clone1 &
74 zfs promote $TESTPOOL/clone2 &
75 zfs promote $TESTPOOL/clone3 &
/illumos-gate/usr/src/test/zfs-tests/tests/functional/delegate/
H A Dzfs_allow_012_neg.ksh61 aclmode aclinherit rollback clone rename promote \
H A Dzfs_allow_010_pos.ksh80 promote true true \
H A Ddelegate_common.kshlib243 promote)
324 promote)
996 log_must zfs promote $clone
1001 user_run $user zfs promote $fs
1002 # promote should fail if original fs does not have
1003 # promote permission
1009 log_must zfs allow $user promote $clone
1010 user_run $user zfs promote $fs
1011 log_must zfs unallow $user promote $clone
1018 user_run $user zfs promote
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/bootfs/
H A Dbootfs_001_pos.ksh80 log_must zfs promote $TESTPOOL/clone
/illumos-gate/usr/src/test/zfs-tests/tests/functional/nopwrite/
H A Dnopwrite_promoted_clone.ksh28 # 2. Disable compression and checksum on the clone, and promote it.
53 log_must zfs promote $TESTPOOL/clone
/illumos-gate/usr/src/test/zfs-tests/tests/functional/userquota/
H A Duserquota_011_pos.ksh44 # 3. Check the user|group quota can not change during zfs rename|upgrade|promote
90 log_note "zfs promote can not change the previously set user|group quota"
91 log_must zfs promote $TESTPOOL/fs-clone
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_clone/
H A Dzfs_clone_010_pos.ksh201 log_note "verify clone property for zfs promote"
204 log_must zfs promote $ds/$TESTCLONE.$i
211 log_must zfs promote $ds
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Ddlfcns.c351 * If a private handle already exists, promote this
382 hdl_initialize(Grp_hdl *ghp, Rt_map *nlmp, int mode, int promote) argument
396 if (((ghp->gh_flags & GPH_INITIAL) && (promote == 0)) ||
670 int promote = 0; local
731 promote = 1;
733 if (promote)
/illumos-gate/usr/src/lib/brand/shared/zone/
H A Duninstall.ksh160 $nop /sbin/zfs promote "$zp_fs1"
318 # - promote the oldest clone
649 # - promote the oldest clone of the youngest snapshot
681 # promote the youngest clone of the oldest snapshot
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk.h328 void promote(NODE *);
/illumos-gate/usr/src/lib/pyzfs/common/
H A Dallow.py211 promote=_("""Must also have the 'mount'
212 \t\t\t\tand 'promote' ability in the origin file system"""),

Completed in 92 milliseconds

12