- Sun Storage Virtual Tape Library VTL User Guide
Virtual devices / Clients
96267 • G Appendix A VTL command line reference 181
‐T(‐‐num‐of‐slots)and‐E(‐‐import‐export‐slots)areoptional.The<num‐of‐slots>
canexceedthemax im umnumberofslotssupportedbythespecifiedlibrarytype,
butitis limitedto 65536.The<‐‐import‐export‐slots>cannotexcee dthemaximun
numberofIEslotssupported
bythespecifiedlibrarytype.Thedefaultistousethe
maximumnumberofslotssupportedbythespecifiedlibrary type.
‐D(‐‐capacity‐on‐demand )isanoptiontoexpandthevirtualtapewhenneeded.The
defaultisto creat ethevirtualtapewiththemaximumcapacityifitis
notspecified.
‐I(‐‐initial‐size)and‐C(‐‐increment‐size)areoptionstobespecifiedwith<capacity‐
on‐demand>option.Thedefaultvalueforbothoptionsis5GB.The<‐‐increment ‐
size>cannotbelessthan5GB.
‐m(‐‐max‐capacity)isanoptiontospecifythe
maximumcapacityofthevirtualtape.
Themaximumcapacitycon f i g ur edforthespecifiedtypeofvirtuallibrarywillbe
usedifitisnotspecifie d.
Theunitof<max‐capacity>,<initial‐size>and<increment‐size>areallinGB.
‐L(‐‐auto‐loader)isanoptiontosettheauto‐loader
forthoselibrariesthatsupport
thefeature.Thedefaultvalueisoff.
‐k(‐‐key‐name)and‐W(‐‐key‐password)areoptionsfortapeencryptionsupportto
besetinconjunctionwithAuto‐ArchiveMode.Specifythekeynameandkey
passwordoftheencryptionkeyifyouwish
toencryptthedatawhenexportingthe
virtualtapetothephysicaltape.
AvirtualdeviceIDwillbeassignedtothevirtuallibrarywhenitiscreated
successfully.
‐X(‐‐rpc‐timeout)isanoptiontospecifyanumberbetween1and30000inseconds
fortheRPCtimeout.The
systemwillretrythecommandfortheamountoftime
specifiedif theserverdoesnotrespond.ThedefaultRPCtimeoutis30seconds.
Addvirtualtapedrive
iscon addvirtualdrive -s <server-name> [-u <username> -p <password>]
-L <tape-library-vid> [-r <vdrive-name-prefix>] [-R <num-of-drives>] [-X
<rpc-timeout>]
iscon addvirtualdrive --server-name=<server-name>
[--server-username=<username> --server-password=<password>]
--tape-library-vid=<tape-library-vid> [--vdrive-name-prefix=<vdrive-name-
prefix>]
[--num-of-drives=<num-of-drives>] [--rpc-timeout=<rpc-timeout>]
Description:
Thiscomma n d addsavirtualtapedrivetoaspecifyvirtualtapelibrary.