Quantum DXi-Series Command Line Interface (CLI) Guide
6-67081-02 Rev A
July 2011
22
VTL Configuration CLI Commands
[mediatype
=
1]
type
=
SDLT1
capability
=
RW
[mediatype
=
2]
type
=
SDLT2
capability
=
RW
[mediatype
=
3]
type
=
DLTS4
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 <VTL_name> [--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 of two media from VTL
MyVTL
is shown below.
List
of
media:
Total
count
=
2
[media
=
1]
vtl
=
MyVTL
barcode
=
SDL101
type
=
SDLT
-
S4