mkvopt command

Purpose

Creates a virtual optical media disk in the Virtual Media Repository.

Syntax

mkvopt -name FileName {-size FileSize | -dev SourceDevice| -file SourceFile[ nfslink]} [-ro ]

Description

The mkvopt command creates a new virtual optical disk in the Virtual Media Repository. If the -size flag is specified, the new optical disk is initialized to all zeros of the given Size. If the -dev flag is specified, the given device, OptDevice, must be an optical device with media loaded. The contents of the loaded media within the device is used to create the optical media. If the -file flag is specified, SourceFile is copied into the repository. By default, the virtual optical disk is created as DVD-RAM media. If the -ro flag is specified, the disk is created as a DVD-ROM media. If the -nfslink flag is specified, the Network File System (NFS) mounted ISO is supported in the Virtual Media Library. In the repository, it creates a symbolic link to the specified ISO image.

When specifying Size the following conventions must be used:
Size Minimum file size
n M/m n MB
n G/g n GB

Flags

Flag name Description
-dev SourceDevice Specifies a physical optical device with media loaded.
-file SourceFile Specifies the name of an existing file to by copied into the repository.
-name FileName Specifies the name of the new virtual optical media file.
-ro Creates the disk as read-only (DVD-ROM).
-size FileSize Specifies how large the new virtual optical media must be made.
-nfslink Creates a symbolic link to the specified NFS ISO file.

Examples

  1. To create a read-only virtual optical disk with the name pressData from existing optical media in device cd0, type the following command:
    mkvopt -name pressData -dev cd0 -ro
  2. To create a new virtual optical disk with the name blankDVD with 1-Gigabyte storage capacity, type the following command:
    mkvopt -name blankDVD -size 1g
  3. To create a symbolic link to the particular NFS ISO file, type the following command:
    mkvopt -name link1 -file /my_mount/db_2348A1_aix73D_Mon.iso -nfslink