- Sun Storage Virtual Tape Library VTL User Guide
Automated tape caching
96267 • G Appendix A VTL command line reference 191
‐X(‐‐rpc‐timeout)isanoptiontospecifyanumberbetween1and30000inseconds
fortheRPCtimeout.Thesystemwillretrythecommandfortheamountoftime
specifiedif theserverdoesnotrespond.ThedefaultRPCtimeoutis30seconds.
Syncphysicaltapes
iscon syncphysicaltape -s <server-name> [-u <username> -p <password>]
-l <plib-vid> -b <physical-tape-barcode> -L <virtual-tape-library-id>
-t <virtual-tape-slot-no> [-M <sync-mode>] [-k <key-name> -W <key-password>]
[-I <ACSL list>] [-n <vdevname>] [-g <#(GB)>] [-X <rpc-timeout>]
iscon syncphysicaltape --server-name=<server-name>
[--server-username=<username> --server-password=<password>]
--plib-vid=<physical-tape-library-vid> --physical-tape-barcode=<physical-
tape-barcode>
--tape-library-vid=<virtual-tape-library-id>
--virtual-tape-slot-no=<virtual-tape-slot-no> [--sync-mode=<sync-mode>]
[--key-name=<key-name> --key-password=<key-password>] [--scsiaddress=<ACSL
list>]
[--vdevname=<vdevname>] [--size-gb=<#(GB)>] [--rpc-timeout=<rpc-timeout>]
Description:
Thiscomma n d createsasynchronizedvirtualtapeforthespecif ie d physicaltape.
Thephysic al tapemustbefromthespecifiedphysicaltapelibrary an d thevirtual
tapewillbecreatedinthespecifiedvirtualtapelibrary.Thevirtualtapelibrarymust
havethetape cachingfeatureenabled.
‐l<‐‐plib‐vid>
isthevirtualIDofthephysicaltapelibrarywher ethephysic altapes
arelocated.
‐b<‐‐ph ys i c al‐tape‐barcode>isthebarcodeofthephysical tape.Thevirtualtapewill
becreatedwiththesamebar code.Thebarcodemustnotbeinusebyanyother
virtualtapein
thesystem.Ifthebarcodecontainslead ing ortrailingspace
characters,itmustbeenclosedindoublequotes.
‐L<‐‐tape‐library‐vid>istheIDofthevirtualtapelibrarywhere thevirtualtapes
willbecreated.
‐t<‐‐virtual‐tape‐slot‐no>isanoptiontoprovideanempty
destinationslotforthe
virtualtape.Notforʺ‐Mcacheʺmode.
[‐M<‐‐sync‐mode>]isanoptiontoselect thesynchronizationmodefromoneofthe
followingvalues(defaultisʺcacheʺ):
■ cache(createca ch e)
■ metadata(createcacheandcopymetadata)
■ directlink(createdirect link )