Quantum DXi-Series Command Line Interface (CLI) Guide
6-67081-09 Rev B
February 2014
VTL Configuration CLI Commands 15
capability=RW
Creating Media syscli --add media --name <VTL_name> --type <media_type> --media
<number_of_media> --barcodestart <starting_barcode> --location slot |
ieslot [--capacity <media capacity>]
This CLI command allows the CLI admin to create a media for a defined VTL.
Creating a media is necessary after a VTL is created. The following are required
to create a media:
•VTL Name
•Media Type
• Number of media
•Starting barcode
• Initial location
The media type can be derived from the values returned from the type field
name of the list of media supported for a given tape drive model CLI. Initial
location can either be a slot or I/E slot.
The media capacity can optionally be specified. If media capacity is not
specified, it defaults to the media type native capacity.
Listing the Media and
Attributes
syscli --list media { --name <vtlname> } | --all [--barcode <barcode>]
This CLI command allows the CLI admin to display a list of barcodes in the
system from the specified VTL name. When a barcode of the cartridge is
specified, this CLI returns the attributes of the single cartridge specified if it
exists. An example output (using the --all option) of two media from VTL MyVTL
is shown below.
Caution: The used value is not updated while the media is mounted.
Because of this, the displayed used value may be different from the
real value for mounted media.
Listofmedia:
Totalcount=2
[media=1]
vtl=MyVTL
barcode=SDL101
type=SDLT-S4
access=scratch
pool=application
used=0.0
capacity=800.0