Creates a storage repository.
create Repository
{
fileSystem=
|
value
serverPool=
value
physicalDisk=
} [
value
sharePath=
]
value
name=
[
value
description=
]value
This command creates a storage repository. You must supply either a
fileSystem
, or a serverPool
and
physicalDisk
value(s).
After you create a repository, you should refresh it, and also refresh any disks individually to make them available in Oracle VM Manager.
The following table shows the available options for this command.
Option | Description |
---|---|
| The name or identifier of the file system to use for the storage repository. |
|
The name or identifier of the server pool to which the
storage repository should be made available. This must be
used with the |
|
The name or identifier of the physical disk to use for the
storage repository. This must be used with the
|
| A path to a subdirectory on the selected file system. |
| A name to identify the storage repository. |
| Optional description for the storage repository. |
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.31 Creating a storage repository on a file server
OVM> create Repository name=MyRepository fileSystem=nfs:/mnt/vol1/repo01
Example A.32 Creating a storage repository on a physical disk
OVM> create Repository name=MySANRepository serverPool=MyServerPool \ physicalDisk=0004fb0000180000ba63ec88aa330640