- Sun Storage Virtual Tape Library VTL User Guide
Virtual devices / Clients
96267 • G Appendix A VTL command line reference 183
Theunitof<max‐capacity>,<initial‐size>and<increment‐size>areallinGB.
‐X(‐‐rpc‐timeout)isanoptiontospecifyanumberbetween1and30000inseconds
fortheRPCtimeout.Thesystemwillretrythecommandfortheamountoftime
specifiedif theserverdoes
notrespond.ThedefaultRPCtimeoutis30 seconds.
Createvirtualtape
iscon createvirtualtape -s <server-name> [-u <username> -p <password>] -v
<parent-vid>
[ [-g <#(GB)> [-I <ACSL>] ] [-n <vdevname>] [-B <barcode | barcode-range>] -t
<count>]
[-A -l <plib-vid> -b <physical-tape-barcode> [-J] | -N [-S <target-name>]
[-U <target-username> -P <target-password>] [-X <rpc-timeout>]
iscon createvirtualtape --server-name=<server-name>
[--server-username=<username> --server-password=<password>]
--parent-vid=<parent-vid> [ [--size-gb=<#(GB)>] [--scsiaddress=<ACSL>] ]
[--vdevname=<vdevname>] [--barcode=<barcode | barcode-range>] [--
count=<count>]
[--enable-auto-archive --plib-vid=<plib-vid>
--physical-tape-barcode=<physical-tape-barcode>
[--auto-eject-to-ie] | --enable-auto-remotecopy
--target-name=<target-name> [--target-username=<target-username>
--target-password=<target-password>] [--rpc-timeout=<rpc-timeout>]
Description:
Thiscomma n d createsavirtualtape.
‐v(‐‐parent‐vid)isthevirtualdeviceidofthe virtual tapelibraryorstandalonetape
drive.
‐g(‐‐siz e‐gb)isanoptiontospecifythesizeinGB.Thesizeofthevirtualtapewill be
thesize configuredinthe
propertiesofthevirtualtapelibraryorvirtualtapedriveif
itisnotspecified.Th is optioncannotbespecifiedifthecapacityondemandoption
isnotenabledatparentlevel.
‐I(‐‐scsiaddress)isanoptiontospec if yspecificphysicaldevicestobeusedtocreate
avir tual device.
ItcanbealistofACSLsseparatedbyacommaorafileenclosedin
<>containinganACSLoneachline.
ACSL=#:#:#:#(adapter:channel:id:lun)
‐n(‐‐vdevname)isanoptiontospecifythevirtualtapenameorprefixwhencreating
morethanonetape .Themaximumlength ofthe
virtualdevicenameis64.Leading
andtrailingspaceswillberemoved.Enclosethe name indoublequotesto ensure
thepropername.Thefollowingcharactersareinvalidfor thename:<>ʺ&$/\ʹ