- Sun Storage Virtual Tape Library VTL User Guide
Virtual devices / Clients
182 VTL User Guide • May 2008 G • 96267
‐L(‐‐tape‐librar y‐vid)isrequiredtospecifythevirtualtapelibrarytoaddthevirtual
tapedrive(s).
‐r(‐‐vdr ive‐name‐prefix)isan optiontospecifytheprefixofthevirtualtapedrive.
Thedefaultprefixis intheformatof<drive‐vdendorID>‐<drive‐productID>‐<vid>.
‐R
(‐‐num‐of‐drives)isoptional ,thedefaultis1ifitisnotspe c if ied .
‐X(‐‐rpc‐timeout)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(‐‐vdrive‐type)isrequiredtospecifythetypeoftapedriveto becreate dinthe
followingformat:<vdendorID>:<productID>
‐r(‐‐vdr ive‐name‐prefix)isan optiontospecifytheprefixofthevirtualdrive.The
defaultprefixisin
theformatof<drive‐vdendorID>‐<drive‐productID>‐<vid>.
‐R(‐‐num‐of‐drives)canbespecifiedtocre a temultipledrivesofthesametype.The
defaultis1ifitisnotspecified.Themaximumnumberofdrivesis10.
‐D(‐‐capacity‐on‐demand )isanoptiontoexpandthe
virtualtapewhenneeded.The
defaultistocreatethevirtualtapewiththemaximumcapacityifitisnotspecified.
‐I(‐‐initial‐size)and‐C(‐‐increment‐size)areoptionstobespecifiedwith<capacity‐
on‐demand>option.Thedefaultvalueforbothoptionsis 5 GB.The
<‐‐increment‐
size>cannotbelessthan5GB.
‐m(‐‐max‐capacity)isanoptiontospecifythemaximumcapacityofthevirtualtape.
Themaximumcapacityconfiguredforthespecifiedtypeofvirtualtapedrivewillbe
usedifitisnotspecified.