- Sun Storage Virtual Tape Library VTL User Guide
Virtual devices / Clients
184 VTL User Guide • May 2008 G • 96267
‐B(‐‐barcode)isanoptiontoeithersetthevirtualtapewiththeprovidedbarcodeor
createvirtualtapesinbatchmod econfiguredwithbarcodesformthespecified
barcoderange.Theargumentmustbewithinthebarcoderangeconfiguredforthe
libraryandmustnotcontainused barcodes.When
providedasabarcoderange,the
optioncreatesavirtualtapeforeachbarcodeintherange.
‐t(‐‐count) isanoptiontocreatemultiplevirtualtapeshavingthebarcode
automaticallychosenfrom withinthebarcoderangeconfiguredatlibrarylevel.The
librarymusthavetherequirednumberoffree
slotsavailable.Ifcombined,ʺcountʺ
andʺbarcodeʺoptionsmustagreeinnumber.
Ifthepa rent library hastheauto‐archive/remotecopypropertyenabled,usethe
followingoptionstoprovideaddition alinformationforvirtualtapecreation:
‐A(‐‐enable‐auto‐arch ive)isanoptionwhenthepa rent libraryisenabledwithauto‐
archive
option.
‐l(‐‐plib‐vid)isrequiredwhen<auto‐archive‐mode>isspecified.Itisthephysical
tapelibrarywherethetapewillbeexportedtoautomatically.
‐b(‐‐physical‐tape‐barcode)is requiredtospecifythe listofphysicaltapebarcode(s)
whentheauto‐archiveoptioniss pec if ie d.Separate
multiplebarcodeswithcommas.
Forexample,
‐b00010001,00010009,0001000A
‐J(‐‐auto‐eject‐to‐ie)isoptionalwhen<auto‐archive‐mode>isspecified.
‐N(‐‐enable‐auto‐replication)isanoptionwhentheparentlibraryisenabledwith
theauto‐replicationoption.
‐S(‐‐target‐name)canbespecifiedwhenauto‐
replicationoptionisspecified.The
defaultremoteserverfromtheparentlibrarywillbeusedifitisnotspecified.
Thecountandbarcodeoptionscannotbespecifiedwhenthe‐A(‐‐enable‐auto‐
archive)optionisspecifiedbecausethenumberoftapeswillbeobtainedfrom the
listofbarcodes
specifiedwith‐b(‐‐ph ys i cal ‐tape‐barcode)option.
‐X(‐‐rpc‐timeout)isanoptiontospecifyanumberbetween1and30000inseconds
fortheRPCtimeout.Thesystemwillretrythecommandfortheamountof time
specifiediftheserverdoesnotrespond.ThedefaultRPCtime out
is30 seconds.
Movevirtualtape
iscon movevirtualtape -s <server-name> [-u <username> -p <password>] -v
<vdevid>
[-L <tape-library-vid> | -D <tape-drive-vid> | -l <slot-no>] [-X <rpc-
timeout>]