Searched refs:clone (Results 26 - 50 of 158) sorted by relevance

1234567

/illumos-gate/usr/src/test/zfs-tests/tests/functional/bootfs/
H A Dbootfs_001_pos.ksh74 log_must zfs clone $TESTPOOL/$TESTFS@snap $TESTPOOL/clone
78 log_must zpool set bootfs=$TESTPOOL/clone $TESTPOOL
80 log_must zfs promote $TESTPOOL/clone
81 log_must zpool set bootfs=$TESTPOOL/clone $TESTPOOL
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_promote/
H A Dzfs_promote_007_neg.ksh40 # 1. Create a snapshot and a clone of the snapshot
41 # 2. Create the same name snapshot for the clone
42 # 3. Promote the clone filesystem
63 clone=$TESTPOOL/$TESTCLONE
71 log_must zfs clone $snap $clone
72 log_must mkfile $FILESIZE /$clone/$CLONEFILE
75 log_mustnot zfs promote $clone
/illumos-gate/usr/src/test/zfs-tests/tests/functional/nopwrite/
H A Dnopwrite_recsize.ksh27 # 2. For each possible recsize, create a clone that inherits the compress and
48 log_must zfs clone $origin@a $origin/clone
51 log_must zfs set recsize=$rs $origin/clone
52 dd if=/$TESTDIR/file of=/$TESTDIR/clone/file bs=1024k count=$MEGS \
54 log_must verify_nopwrite $origin $origin@a $origin/clone
H A Dnopwrite_sync.ksh48 log_must zfs clone $origin@a $origin/clone
50 gnu_dd if=/$TESTDIR/file of=/$TESTDIR/clone/file bs=1024k count=$MEGS \
53 log_must verify_nopwrite $origin $origin@a $origin/clone
H A Dnopwrite_varying_compression.ksh24 # Verify that if the checksum on the origin and clone is sha256, any compression
31 # 3a. Create a snap and clone (inheriting the checksum property) of the origin.
32 # 3b. Apply the compression property to the clone.
33 # 3c. Write the same 64M of data into the file that exists in the clone.
57 log_must zfs clone -o compress=$i $origin@a $origin/clone
58 dd if=/$TESTDIR/file of=/$TESTDIR/clone/file bs=1024k count=$MEGS \
60 log_must verify_nopwrite $origin $origin@a $origin/clone
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_share/
H A Dzfs_share_001_pos.ksh52 "$TESTDIR2" "$TESTPOOL/$TESTFS-clone"
64 if mounted $TESTPOOL/$TESTFS-clone; then
68 datasetexists $TESTPOOL/$TESTFS-clone && \
69 log_must zfs destroy -f $TESTPOOL/$TESTFS-clone
114 log_must zfs clone $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTFS-clone
115 log_must zfs set mountpoint=$TESTDIR2 $TESTPOOL/$TESTFS-clone
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/fops/
H A Dtpgs_tape.c168 struct scsi_failover_ops *sfo, *ssfo, clone; local
170 /* clone SFO_NAME_SYM implementation for most things */
178 clone = *ssfo;
179 clone.sfo_rev = sfo->sfo_rev;
180 clone.sfo_name = sfo->sfo_name;
181 clone.sfo_devices = sfo->sfo_devices;
182 clone.sfo_init = sfo->sfo_init;
183 clone.sfo_device_probe = sfo->sfo_device_probe;
184 *sfo = clone;
H A Dsym_hds.c120 struct scsi_failover_ops *sfo, *ssfo, clone; local
122 /* clone SFO_NAME_SYM implementation for most things */
130 clone = *ssfo;
131 clone.sfo_rev = sfo->sfo_rev;
132 clone.sfo_name = sfo->sfo_name;
133 clone.sfo_devices = sfo->sfo_devices;
134 clone.sfo_init = sfo->sfo_init;
135 clone.sfo_device_probe = sfo->sfo_device_probe;
136 clone.sfo_device_unprobe = sfo->sfo_device_unprobe;
137 clone
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rename/
H A Dzfs_rename_006_pos.ksh42 # 4. Create a clone of the snapshot.
70 clone=$TESTPOOL/${snap}_clone
71 create_clone $vol@$snap $clone
74 for input in $VOL_R_PATH /dev/zvol/rdsk/$clone; do
81 destroy_clone $clone
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_destroy/
H A Dzfs_destroy_003_pos.ksh42 # 3. Create clone in the second dataset for the snapshot in the first dataset
43 # 4. Verify 'zfs destroy -r' fails to destroy dataset with clone outside it
44 # 5. Verify 'zfs destroy -R' succeeds to destroy dataset with clone outside it
45 # 6. Verify 'zfs destroy -r' succeeds to destroy dataset without clone outside it.
122 for clone in $child_fs_snap_clone $child_fs_snap_clone1; do
123 log_must zfs clone $child_fs_snap $clone
127 for clone in $child_fs1_snap_clone $child_fs1_snap_clone1; do
128 log_must zfs clone $child_fs1_snap $clone
[all...]
H A Dzfs_destroy_common.kshlib36 # snap & clone. It looks like the following.
47 # $1 indicate which dependent dataset need be created. Such as 'snap', 'clone'.
76 if [[ $dtst == snap || $dtst == clone ]]; then
85 if [[ $dtst == clone ]]; then
87 log_must zfs clone $FSSNAP $FSCLONE
90 log_must zfs clone $VOLSNAP $VOLCLONE
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_clone/
H A Dzfs_clone_007_pos.ksh36 # 'zfs clone -o version=' could upgrade version, but downgrade is denied.
39 # 1. Create clone with "-o version=" specified
57 log_assert "'zfs clone -o version=' could upgrade version," \
70 log_must zfs clone -o version=$ver $SNAPFS $TESTPOOL/$TESTCLONE
77 log_mustnot zfs clone -o version=$ver \
84 log_pass "'zfs clone -o version=' could upgrade version," \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_user/misc/
H A Dzfs_clone_001_neg.ksh38 # zfs clone returns an error when run as a user
42 # 1. Verify that we're unable to clone snapshots as a user
46 log_assert "zfs clone returns an error when run as a user"
47 log_mustnot zfs clone $TESTPOOL/$TESTFS@snap $TESTPOOL/$TESTFS.myclone
54 log_pass "zfs clone returns an error when run as a user"
/illumos-gate/usr/src/cmd/tsol/demo/
H A Dclonebylabel.sh37 # $2 is the zone snaphot to clone for a new zone
61 clone() function
71 /usr/sbin/zfs clone $image zone/$zonename
106 clone
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs/
H A Dzfs_002_pos.ksh78 clone=$ctr/$TESTCLONE
85 "receive $fs1 \<$streamf" "clone $snap $clone" "promote $clone" \
88 typeset badparams=("" "create" "destroy" "snapshot" "rollback" "clone" \
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DKernelStackRecord.java162 stackFrames = frames.clone();
165 rawStackData = rawBytes.clone();
193 return stackFrames.clone();
222 return rawStackData.clone();
235 return rawStackData.clone();
317 stackFrames = stackFrames.clone();
320 rawStackData = rawStackData.clone();
/illumos-gate/usr/src/test/zfs-tests/tests/functional/delegate/
H A Ddelegate_common.kshlib223 clone)
316 clone)
757 typeset clone=$basefs/cfs.$stamp
760 user_run $user zfs clone $snap $clone
761 if datasetexists $clone ; then
766 user_run $user zfs clone $snap $clone
768 if datasetexists $clone ; then
773 user_run $user zfs clone
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/history/
H A Dhistory_004_pos.ksh67 zfs clone $TESTPOOL/$TESTFS1@snap $TESTPOOL/clone1 &
68 zfs clone $TESTPOOL/$TESTFS2@snap $TESTPOOL/clone2 &
69 zfs clone $TESTPOOL/$TESTFS3@snap $TESTPOOL/clone3 &
/illumos-gate/usr/src/uts/intel/clone/
H A DMakefile23 # uts/intel/clone/Makefile
30 # This makefile drives the production of the clone driver
43 MODULE = clone
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rollback/
H A Dzfs_rollback_001_pos.ksh135 for clone in $all_clone; do
136 if [[ " $exist_clone " == *" $clone "* ]]; then
137 log_must datasetexists $dtst$clone
139 log_must datasetnonexists $dtst$clone
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DSLPV1SSrvDereg.java122 hdr.scopes = (Vector)rec.getScopes().clone();
131 hdr.scopes = (Vector)config.getSAConfiguredScopes().clone();
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/client/
H A DpmHelpItem.java79 keywords = (Vector) v.clone();
84 seealso = (Vector) v.clone();
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_get/
H A Dzfs_get_004_pos.ksh50 datasetexists $clone && \
51 log_must zfs destroy $clone
90 clone=$TESTPOOL/$TESTCLONE
97 # create snapshot and clone in $TESTPOOL
99 log_must zfs clone $fssnap $clone
103 usrpropds="$clone $fs"
106 allds="$fs $clone $fssnap $volsnap"
139 log_must zfs clone $pool/$TESTFS@$TESTSNAP $pool/$TESTCLONE
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_upgrade/
H A Dzfs_upgrade_003_pos.ksh64 typeset current_clone=$rootfs/clone$verfs
67 log_must zfs clone ${current_snap} ${current_clone}
H A Dzfs_upgrade_004_pos.ksh64 typeset current_clone=$rootfs/clone$verfs
67 log_must zfs clone ${current_snap} ${current_clone}

Completed in 145 milliseconds

1234567