Quantum DXi-Series Command Line Interface (CLI) Guide
6-67081-05 Rev B
April 2012
14
VTL Configuration CLI Commands
Listing the Media Types
syscli --list mediatype --drivetype <drive_type>
This CLI command allows the CLI admin to display a list of media types
supported given a tape drive model. For example, for DLT
-
S4 drive model, media
types SDLT1, SDLT2 and DLTS4 are supported and will be returned from this CLI.
The drive type can be derived from the value of the 'model' key name of the list
of available tape drives models.
An example output of three media types is shown below for DLT
-
S4 media types
supported.
List
of
media
types:
Total
count
=
3
[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.