- Sun Storage Virtual Tape Library VTL User Guide

Virtual devices / Clients
176 VTL User Guide May 2008 G • 96267
Thevaluesfor<accessmode>are:Readonly,ReadWrite,ReadWriteNonExclusive.The
valuesfortheshortformat are:R / W/N.
y(‐‐vlibonly)isanoptionthatallowsyoutoassignthevirtualtapelibrarytothe
clientwithoutassigningallofthevirtualtapedrivesinthe
library.Thedefaultisto
assignallofthevirtualtapedrivesinthelibrary.
I(‐‐initiatorWWPN)and‐T(‐‐targetWWPN)areoptionsforFibreChannelclients.
Theinitiator WWPN ortargetWWPNisa16bytehexvalueorʺ*ʺforall.For
example,13af35d2f4ea6fbc.Thedefaultisʺ
*ʺifit is‐Iorthe‐Toptionisnot
specified.
l(‐‐lun )isanotheroptionforFibre Cha nn e l clients.Therangeisbetween0and15.
ThenextavailableLUNwillbeassignedifisitisnotspecified.
M(‐‐outputdelimiter)canbespecifiedwh en‐l
isspecifiedtoreplacethelinefe ed
withthespecifieddelim iter.Themaximumlengthofthedelimiteris8.
X(‐‐rpctimeout)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(‐‐clientname) isrequiredtospecifytheclientnamefromwhich
tounassignthe
libraryordrive.
y(‐‐vlibonly)isan optionthatallowsyoutounassignthevirtualtape librarytothe
clientwithoutunassigningallofthevirtualtapedrivesinthelibrary.Thedefaultis
tounassignallofthevirtualtapedrivesinthelibrary.
The
‐f(‐‐force)optionisrequiredtounassignthevirtualdevicewhentheclientis
connectedandthevirtualdeviceisattached.Anerrorwillbereturnediftheforce
optionisnot specified.