A.27 clonePdToRepo

Clones a physical disk to a repository.

Syntax

clonePdToRepo 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 repository. The physical disk data is copied to a virtual disk image (.img file) file in the storage repository.

Options

The following table shows the available options for this command.

Option

Description

target=value

The repository on which to locate the cloned physical disk. The target repository must be on a 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.38 Cloning a physical disk to a repository

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

See Also