- Sun Storage Virtual Tape Library VTL User Guide

Virtual devices / Clients
178 VTL User Guide May 2008 G • 96267
v(‐‐vdevid)isrequiredtospecifythe virtualdeviceID.
Avirtualdevicecannotbedeleted if anyofthefollowingc on dit ions apply:
Thespecifiedvirtualdeviceisavirtualtapelibraryoravirtualtapedriveand
thereareclientscurrently connectedtothelibraryordrive.
Thespec i fie dvirtualdeviceisavirtualtapeconfiguredforreplication,unlessthe
f(‐‐force)optionisused.
Thespecifiedvirtualdeviceistheonlyexistingvirtualtapedriveinthe pare nt
virtualtapelibrary.
d(‐‐deletevirtualtapes)isanoptiontodeletealloftheexistingvirtualtapesfrom
avirtualtapelibrary,astandalonevirtualtapedrive,oraloadedvirtualtapedrive
selected for
deletion.Bydefault,the virtualtapesaremovedtothevault,or,ifa
loadedvirtualtapedriveisselected,backtothelibrary.
f(‐‐force)isanoptionto forcethedeletionofavirtualtapeconfiguredfor
replication.Thecorrespondingvirtualtapereplicawillnotbedeleted
orpromoted.
X(‐‐rpctimeout)isanoptionto specifyanumberbetween1and30000secondsfor
theRPCtimeout.Thesystemwillretrythecommandfortheamountoftime
specifiediftheserverdoesnotrespond.ThedefaultRPCtime outis30seconds.
Getsupportedvirtuallibraries
iscon getsupportedvlibs -s <server-name> [-u <username> -p <password>]
[-l [-t <vlib-type>] [-c][-M <output-delimiter>] ] [-X <rpc-timeout>]
iscon getsupportedvlibs --server-name=<server-name>
[--server-username=<username> --server-password=<password>]
[--longlist [--vlib-type=<vlib-type>] [--compatible-drive-list]
[--output-delimiter=<output-delimiter>] ] [--rpc-timeout=<rpc-timeout>]
Description:
Thiscomma n d retrievesinformationaboutallsupportedvirtualtapelibraries.
l(‐‐longli st )canbespecified togetthesupportedlibraryinformationinalong
format.Thedefaultistodisplaythe informationinalistformat.
t(‐‐vlibtype)isanoptionwiththe‐l(‐‐longlist)optionto
getthedetaillibra ry
informationforaspecificlibrary. Th eformatforthe<vlibtype>is:
<vendorID>:<productID>.Forexample,ADIC:Scalar100
c(‐‐compatibledrivelist)isanoptiontodisplaythecompatib le drivesina tab ular
formatinsteadofthedefaultlongformat.
M(‐‐outputdelimiter)canalso
bespecifiedwiththe‐l(‐‐longlist)optiontoreplace
thelinefeedwiththespecifieddelimiter.Themaximum leng th ofthedelimiteris8.