mkrep command

Purpose

Create the Virtual Media Repository.

Syntax

mkrep -sp ParentStoragePool -size Size

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 which 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 the repository should 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 the repository should be.
-sp ParentStoragePool Specifies the parent storage pool the repository should 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



Last updated: Wed, November 18, 2020