- Sun Storage Virtual Tape Library VTL User Guide
Virtual devices / Clients
176 VTL User Guide • May 2008 G • 96267
Thevaluesfor<access‐mode>are:Readonly,ReadWrite,ReadWriteNonExclusive.The
valuesfortheshortformat are:R / W/N.
‐y(‐‐vlib‐only)isanoptionthatallowsyoutoassignthevirtualtapelibrarytothe
clientwithoutassigningallofthevirtualtapedrivesinthe
library.Thedefaultisto
assignallofthevirtualtapedrivesinthelibrary.
‐I(‐‐initiatorWWPN)and‐T(‐‐targetWWPN)areoptionsforFibreChannelclients.
Theinitiator WWPN ortargetWWPNisa16‐bytehexvalueorʺ*ʺforall.For
example,13af35d2f4ea6fbc.Thedefaultisʺ
*ʺifit is‐Iorthe‐Toptionisnot
specified.
‐l(‐‐lun )isanotheroptionforFibre Cha nn e l clients.Therangeisbetween0and15.
ThenextavailableLUNwillbeassignedifisitisnotspecified.
‐M(‐‐output‐delimiter)canbespecifiedwh en‐l
isspecifiedtoreplacethelinefe ed
withthespecifieddelim iter.Themaximumlengthofthedelimiteris8.
‐X(‐‐rpc‐timeout)isanoptiontospecifyanumberbetween1and30000inseconds
fortheRPCtimeout.Thesystemwillretrythecommandfortheamountof time
specifiediftheserverdoesnotrespond.ThedefaultRPCtime outis30seconds.
Unassignvirtualdevice
iscon unassignvdev -s <server-name> [-u <username> -p <password>]
-v <vdevid> -c <client-name> [-y] [-f] [-X <rpc-timeout>]
iscon unassignvdev --server-name=<server-name> [--server-username=<username>]
[--server-password=<password>] --vdevid=<vdevid> --client-name=<client-name>
[--vlib-only] [--force] [--rpc-timeout=<rpc-timeout>]
Description:
Thiscomma n d allowsyoutounassignavirtualdeviceonthespecifiedserverfrom
aclient.
‐v(‐‐vdevid)isrequiredtospecifythevirtual deviceIDofthevirtualtape libraryor
drivetobeunassigned.
‐c(‐‐client‐name) isrequiredtospecifytheclientnamefromwhich
tounassignthe
libraryordrive.
‐y(‐‐vlib‐only)isan optionthatallowsyoutounassignthevirtualtape librarytothe
clientwithoutunassigningallofthevirtualtapedrivesinthelibrary.Thedefaultis
tounassignallofthevirtualtapedrivesinthelibrary.
The
‐f(‐‐force)optionisrequiredtounassignthevirtualdevicewhentheclientis
connectedandthevirtualdeviceisattached.Anerrorwillbereturnediftheforce
optionisnot specified.