mkrep command
Purpose
Create the Virtual Media Repository.
Syntax
Description
The mkrep command creates the virtual media repository in the specified parent storage pool. The virtual media repository is used to store virtual optical media that can be conceptually inserted into file-backed virtual optical devices. See the mkvdev command for detail on how to create file-backed virtual optical devices.
The -size flag specifies the minimum size that the repository must be. When specifying
the Size the following conventions must be used:
| Size | Minimum file storage pool size |
|---|---|
| ###M/m | ###MB |
| ###G/g | ###GB |
Flags
| Flag name | Description |
|---|---|
| -size Size | Specifies the minimum size that the repository must be. |
| -sp ParentStoragePool | Specifies the parent storage pool the repository must be created within. The parent storage pool must be a logical volume pool. |
Examples
To create the virtual media repository within logical volume storage pool client_data with a
size of at least 100 megabytes, type the following command:
mkrep -sp client_data -size 100m