- 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 terrange)istheadapteroradapterrangetoberescanned.Thedefaultisto
rescanalladapters,ifitisnotspecified.Forexample :‐a5or‐
a510
i(‐‐scsirange)isthestartingSCSIIDandendingSCSIIDto berescanne d.The
defaultisto rescanalltheSCSIIDsiftherangeisnotspecified.Forexample:‐i05
l(‐‐lunrange)isthestartingLUNandendingLUNto
berescanned.Thedefaultis
nottorescananyLUNifitis notspecified.Forexample:‐l010
L(‐‐sequential)isanoptiontorescansequentially.
X(‐‐rpctimeout)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.