- Sun Storage Virtual Tape Library VTL User Guide

Virtual devices / Clients
182 VTL User Guide May 2008 G • 96267
L(‐‐tapelibrar yvid)isrequiredtospecifythevirtualtapelibrarytoaddthevirtual
tapedrive(s).
r(‐‐vdr ivenameprefix)isan optiontospecifytheprefixofthevirtualtapedrive.
Thedefaultprefixis intheformatof<drivevdendorID><driveproductID><vid>.
R
(‐‐numofdrives)isoptional ,thedefaultis1ifitisnotspe c if ied .
X(‐‐rpctimeout)isanoptiontospecifyanumberbetween1and30000inseconds
fortheRPCtimeout.Thesystemwillretrythecommandfortheamountof time
specifiediftheserver
doesnotrespond.ThedefaultRPCtimeoutis300seconds.
Createstandalone tapedrive
iscon createstandalonedrive -s <server-name> [-u <username> -p <password>]
-d <vdrive-type> [-r <vdrive-name-prefix>] [-R <num-of-drives>]
[-D -I <initial-size> -C <increment-size>] [-m <max-capacity>] [-X <rpc-
timeout>]
iscon createstandalonedrive --server-name=<server-name>
[--server-username=<username> --server-password=<password>]
--vdrive-type=<vdrive-type> [--vdrive-name-prefix=<vdrive-name-prefix>]
[--num-of-drives=<num-of-drives>] [--capacity-on-demand --initial-
size=<initial-size>
--increment-size=<increment-size>] [--max-capacity=<max-capacity>]
[--rpc-timeout=<rpc-timeout>]
Description:
Thiscomma n d createsastandalonevirtualtapedrive.
d(‐‐vdrivetype)isrequiredtospecifythetypeoftapedriveto becreate dinthe
followingformat:<vdendorID>:<productID>
r(‐‐vdr ivenameprefix)isan optiontospecifytheprefixofthevirtualdrive.The
defaultprefixisin
theformatof<drivevdendorID><driveproductID><vid>.
R(‐‐numofdrives)canbespecifiedtocre a temultipledrivesofthesametype.The
defaultis1ifitisnotspecified.Themaximumnumberofdrivesis10.
D(‐‐capacityondemand )isanoptiontoexpandthe
virtualtapewhenneeded.The
defaultistocreatethevirtualtapewiththemaximumcapacityifitisnotspecified.
I(‐‐initialsize)and‐C(‐‐incrementsize)areoptionstobespecifiedwith<capacity
ondemand>option.Thedefaultvalueforbothoptionsis 5 GB.The
<‐‐increment
size>cannotbelessthan5GB.
m(‐‐maxcapacity)isanoptiontospecifythemaximumcapacityofthevirtualtape.
Themaximumcapacityconfiguredforthespecifiedtypeofvirtualtapedrivewillbe
usedifitisnotspecified.