- Sun Storage Virtual Tape Library VTL User Guide

Automated tape caching
96267 • G Appendix A VTL command line reference 191
X(‐‐rpctimeout)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<‐‐plibvid>
isthevirtualIDofthephysicaltapelibrarywher ethephysic altapes
arelocated.
b<‐‐ph ys i c altapebarcode>isthebarcodeofthephysical tape.Thevirtualtapewill
becreatedwiththesamebar code.Thebarcodemustnotbeinusebyanyother
virtualtapein
thesystem.Ifthebarcodecontainslead ing ortrailingspace
characters,itmustbeenclosedindoublequotes.
L<‐‐tapelibraryvid>istheIDofthevirtualtapelibrarywhere thevirtualtapes
willbecreated.
t<‐‐virtualtapeslotno>isanoptiontoprovideanempty
destinationslotforthe
virtualtape.NotforʺMcacheʺmode.
[M<‐‐syncmode>]isanoptiontoselect thesynchronizationmodefromoneofthe
followingvalues(defaultisʺcacheʺ):
cache(createca ch e)
metadata(createcacheandcopymetadata)
directlink(createdirect link )