A.41 create PhysicalDisk

Creates a physical disk on a volume group.

Syntax

create PhysicalDisk size=value [ extraInfo=value ] shareable= { Yes | No } thinProvision= { Yes | No } userFriendlyName=value name=value [ description=value ] on VolumeGroup instance

Where instance is:

{ id=value | name=value }

Description

This command creates a physical disk on a volume group. Local storage and generic storage plug-ins are not supported with this command.

Options

The following table shows the available options for this command.

Option

Description

size=value

The size of the physical disk in GiB. The value can be from 1 to 2048.

extraInfo=value

The value of the extra information field. Oracle VM Manager does not use the extra information field. However, the value that you set might be passed to a storage array plug-in. Refer to the help content for the storage array plug-in for more information about the extra information field.

shareable= { Yes | No }

Whether the physical disk is shareable. Shareable disks have read/write privileges in multiple virtual machines and should be used with caution.

thinProvision= { Yes | No }

Whether to create a thin or non-thin physical disk.

userFriendlyName=value

A user friendly name to identify the disk.

name=value

A name to identify the physical disk.

description=value

Optional description for the physical disk. value is a maximum of 4,000 characters.

To set an empty description, use description="".

{ id=value | name=value }

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

Note

Any create command only creates a single instance of an object, and therefore only accepts a single object instance as an attribute. Providing more than one object of the same attribute type as a parameter always results in the last attribute value taking precedence.

Examples

Example A.55 Creating a physical disk on a volume group

OVM> create PhysicalDisk size=10 name=MyPhysicalDisk shareable=No \
  thinProvision=No userFriendlyName="My Disk" on VolumeGroup \
  id='Storage_Volume_Group @ 0004fb0000090000325a36dad3b3b7d8'

See Also