Creates a physical disk on a volume group.
create PhysicalDisk
size=
[value
extraInfo=
] value
shareable=
{ yes
| no
} [thinProvision=
{ yes
| no
}] name=
[value
description=
] value
on VolumeGroup
instance
Where
is:
instance
{ id=
| id
name=
}name
This command creates a physical disk on a volume group. Local storage and generic storage plug-ins are not supported with this command.
The following table shows the available options for this command.
Option | Description |
---|---|
| The size of the physical disk in GiB. |
| |
| Whether the physical disk is shareable. Shareable disks have read/write privileges in multiple virtual machines and should be used with caution. |
| Whether to create a thin or non-thin physical disk. |
| A name to identify the physical disk. |
| Optional description for the physical disk. |
{ |
The instance of the object using either the
|
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.
Example A.30 Creating a physical disk on a volume group
OVM> create PhysicalDisk size=10 name=MyPhysicalDisk shareable=no on VolumeGroup \ id='Storage_Volume_Group @ 0004fb0000090000325a36dad3b3b7d8'