- Sun Storage Virtual Tape Library VTL User Guide
Physical devices
96267 • G Appendix A VTL command line reference 213
Rescanphysicaldevices
iscon rescandevices -s <server-name> [-u <username> -p <password>]
[-a <adapter-range>] [-i <scsi-range>] [-l <lun-range>] [-L] [-X <rpc-
timeout>]
iscon rescandevices --server-name=<server-name>
[--server-username=<username> --server-password=<password>]
[--adapter-range=<adapter-range>] [--scsi-range=<scsi-range>] [--lun-
range=<lun-range>]
[--sequential] [--rpc-timeout=<rpc-timeout>]
Description:
Thiscomma n d allowsyoutorescan thephysicalresource(s)on thespecifiedserver
togettheproperphysicalresourceconfiguration.
‐a(‐‐ad ap ter‐range)istheadapteroradapterrangetoberescanned.Thedefaultisto
rescanalladapters,ifitisnotspecified.Forexample :‐a5or‐
a5‐10
‐i(‐‐scsi‐range)isthestartingSCSIIDandendingSCSIIDto berescanne d.The
defaultisto rescanalltheSCSIIDsiftherangeisnotspecified.Forexample:‐i0‐5
‐l(‐‐lun‐range)isthestartingLUNandendingLUNto
berescanned.Thedefaultis
nottorescananyLUNifitis notspecified.Forexample:‐l0‐10
‐L(‐‐sequential)isanoptiontorescansequentially.
‐X(‐‐rpc‐timeout)isanoptiontospecifyanumberbetween1and30000inseconds
fortheRPCtimeout.
Thesystemwillretrythecommandfortheamountoftime
specifiedif theserverdoesnotrespond.ThedefaultRPCtimeoutis300seconds.
Importdisk
iscon importdisk -s <server-name> [-u <username> -p <password>]
-i <guid> | -I <ACSL> [-X <rpc-timeout>]
iscon importdisk --server-name=<server-name>
[--server-username=<username> --server-password=<password>]
--scsiaddress=<ACSL> | --guid=<guid> [--rpc-timeout=<rpc-timeout>]
Description:
Thiscommandallowsyoutoimportaforeigndisktothespecified server.Aforeign
diskisavirtualizedphysi c aldevicecontainingVTLlogicalresourcespreviouslyset
uponadifferentVTLserver.Ifthepreviousserveris nolongeravailable, thedisk
canbesetuponanewVTL
serverandtheresourcesonthediskcanbeimported to
thenewservertomakethemavailable toclients.