- Sun Storage Virtual Tape Library VTL User Guide
Virtual devices / Clients
96267 • G Appendix A VTL command line reference 177
‐X(‐‐rpc‐timeout)isanoptiontospecifyanumberbetween1and30000inseconds
fortheRPCtimeout.Thesystemwillretrythecommandfortheamountoftime
specifiedif theserverdoesnotrespond.ThedefaultRPCtimeoutis30seconds.
Createvirtualdevice
iscon createvdev -s <server-name> [-u <username> -p <password>]
-I <ACSL> [-n <vdevname>] [-X <rpc-timeout>]
iscon createvdev --server-name=<server-name>
[--server-username=<username> --server-password=<password>]
--scsiaddress=<ACSL> [--vdevname=<vdevname>] [--rpc-timeout=<rpc-timeout>]
Description:
Thiscomma n d allowsyoutocreate a directvirtualdevice,suchasvirtualtape
libraryorvirtualtapedrive.
‐I(‐‐scsiaddr ess) isrequiredtosp eci fy theSCSIadd res sof the virtualtape libraryor
virtualtapedriveinthefollowingformat:ACSL=#:#:#:#(adapter:channel:id:lun)
‐n(‐‐vdevname)isanoptionto
specifythedirectvirtualdevicename.Adefault
namewillbe gene rate difthenameisnotspecified .Th e maximumlengthis64.
Leadingandtrailingspaceswillberemoved.Enclosethenameindoublequotes.The
followingcharactersare invalidforthedirectvirtualdevicename:<>ʺ&$/\ʹ
‐X(‐‐rpc
‐timeout)isanoptiontospecifyanumberbetween1and30000inseconds
fortheRPCtimeout.Thesystemwillretrythecommandfortheamountoftime
specifiedif theserverdoesnotrespond.ThedefaultRPCtimeoutis300seconds.
Deletevirtualdevice
iscon deletevdev -s <server-name> [-u <username> -p <password>]
-v <vdevid> [-d] [-f] [-X <rpc-timeout>]]
iscon deletevdev --server-name=<server-name>
[--server-username=<username> --server-password=<password>] --vdevid=<vdevid>
[--delete-virtual-tapes] [--force] [--rpc-timeout=<rpc-timeout>]
Description:
Thiscomma n d allowsyoutodelet eavirtualtapelibrary,virtualtapedr ive,
standalonevirtualtapedrive,orvirtualtape.
Inordertode lete a virtualtapedrivefr om avirtualtapelibrary, thevirtualtape
drivemusthavethehighestelementnumber inthelibrary.