A.26 clonePdToPd

Clones a physical disk to a physical disk.

Syntax

clonePdToPd PhysicalDisk instance target=value cloneType= { SPARSE_COPY | NON_SPARSE_COPY | THIN_CLONE }

Where instance is:

{ id=value | name=value }

Description

This command clones a physical disk to a target physical disk. You cannot clone a physical disk using this command if the disk contains a file system or storage repository.

Options

The following table shows the available options for this command.

Option

Description

target=value

The physical disk on which to locate the cloned physical disk.

cloneType= { SPARSE_COPY | NON_SPARSE_COPY | THIN_CLONE }

Whether to clone a sparse, non-sparse or thin-clone physical disk.

The THIN_CLONE parameter is only applicable when using an Oracle VM Storage Connect plug-in that supports thin provisioned cloning. The clone target must be an OCFS2-based storage repository, or a storage array.

{ id=value | name=value }

The instance of the object using either the id or name option, for example name=MyDisk1.

Examples

Example A.37 Cloning a physical disk to a physical disk

OVM> clonePdToPd PhysicalDisk name=MyDisk1 target=MyRepository cloneType=SPARSE_COPY

See Also