DOKK / manpages / debian 10 / scsitools / rescan-scsi-bus.8.en
RESCAN-SCSI-BUS.SH(8) System Manager's Manual RESCAN-SCSI-BUS.SH(8)

rescan-scsi-bus.sh - rescan the SCSI bus.

rescan-scsi-bus.sh [ -l ] [ -w ] [ -c ] [ -r ] [ host... ]

rescan-scsi-bus.sh is a program that is used to rescan the SCSI bus using the SCSI add-single-device feature of the Linux SCSI layer.

Activates scanning for LUNs 0 .. 7 (default: 0).
Activates scanning for LUNs 0 .. LUN (default: 0).
Scan only LUNs in LIST.
Enables scanning for device IDs 0 .. 15 (default: 0 .. 7).
Scan only device IDs in LIST.
Issue a FibreChannel LIP reset (default: disabled).
Enables removing of devices (default: disabled).
Remove and readd every device (dangerous).
Enables scanning of channels 0 1 (default: 0).
Scan only channels in LIST.
If host adapters are given, only these are scanned (default: all).
Don't stop looking for LUNs if 0 is not found.
Use coloured prefixes OLD/NEW/DEL.

LIST is a comma separated list of single values and ranges (no spaces allowed), e.g. 0,2-3,8,10-15.

rescan-scsi-bus.sh was written by Kurt Garloff <garloff@suse.de>.

This program is free software. You can use it under the terms of the GNU GPL (General Public License) Version 2 (or any later version, at your option). Note, that the GNU GPL implies, that there is NO WARRANTY at all. Full text of the GPL can be found in /usr/share/common-licenses/GPL file.

rescan-scsi-bus.sh is available from

http://www.garloff.de/kurt/linux/scsidev/
March 1998