70
SLES 10 SP3: Storage Administration Guide
no
vd
ocx
(e
n)
7 Ja
nua
ry 201
0
Syntax
rescan-scsi-bus.sh [options] [host [host ...]]
You can specify hosts on the command line (deprecated), or use the
--hosts=LIST
option
(recommended).
Options
For most storage subsystems, the script can be run successfully without options. However, some
special cases might need to use one or more of the following parameters for the
rescan-scsi-
bus.sh
script:
Option
Description
-l
Activates scanning for LUNs 0-7. [Default: 0]
-L NUM
Activates scanning for LUNs 0 to NUM. [Default: 0]
-w
Scans for target device IDs 0 to 15. [Default: 0 to 7]
-c
Enables scanning of channels 0 or 1. [Default: 0]
-r
--remove
Enables removing of devices. [Default: Disabled]
-i
--issueLip
Issues a Fibre Channel LIP reset. [Default: Disabled]
--forcerescan
Rescans existing devices.
--forceremove
Removes and re-adds every device. (DANGEROUS)
--nooptscan
Don’t stop looking for LUNs if 0 is not found.
--color
Use colored prefixes OLD/NEW/DEL.
--hosts=LIST
Scans only hosts in LIST, where LIST is a comma-separated list of single
values and ranges. No spaces are allowed.
--hosts=A[-B][,C[-D]]
--channels=LIST
Scans only channels in LIST, where LIST is a comma-separated list of single
values and ranges. No spaces are allowed.
--channels=A[-B][,C[-D]]
--ids=LIST
Scans only target IDs in LIST, where LIST is a comma-separated list of single
values and ranges. No spaces are allowed.
--ids=A[-B][,C[-D]]
--luns=LIST
Scans only LUNs in LIST, where LIST is a comma-separated list of single
values and ranges. No spaces are allowed.
--luns=A[-B][,C[-D]]
Summary of Contents for LINUX ENTERPRISE SERVER 10 SP3 - ARCHITECTURE-SPECIFIC
Page 4: ...4 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Page 30: ...30 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Page 42: ...42 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Page 76: ...76 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Page 108: ...108 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Page 118: ...118 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Page 124: ...124 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Page 132: ...132 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...