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
is:
instance
{
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 |
---|---|
|
The size of the physical disk in GiB. The value can be
from |
| |
| 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 user friendly name to identify the 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.
Examples
Example A.53 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'