.\" -*- nroff -*- .TH RESCAN\-SCSI\-BUS.SH 8 "March 1998" .SH NAME rescan-scsi-bus.sh \- rescan the SCSI bus. .SH SYNOPSIS .B rescan-scsi-bus.sh [ .B \-l ] [ .B \-w ] [ .B \-c ] [ .B \-r ] [ .B host... ] .SH DESCRIPTION .B 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. .SH OPTIONS .TP \fB\-l\fR Activates scanning for LUNs 0 .. 7 (default: 0). .TP \fB\-L\fR \fINUM\fR Activates scanning for LUNs 0 .. LUN (default: 0). .TP \fB\-\-luns\fR=\fILIST\fR Scan only LUNs in \fILIST\fR. .TP \fB\-w\fR Enables scanning for device IDs 0 .. 15 (default: 0 .. 7). .TP \fB\-\-ids\fR=\fILIST\fR Scan only device IDs in \fILIST\fR. .TP \fB\-i\fR, \fB--issue-lip\fR Issue a FibreChannel LIP reset (default: disabled). .TP \fB\-r\fR, \fB--remove\fR Enables removing of devices (default: disabled). .TP \fB--forceremove\fR Remove and readd every device (dangerous). .TP \fB\-c\fR Enables scanning of channels 0 1 (default: 0). .TP \fB\-\-channels\fR=\fILIST\fR Scan only channels in \fILIST\fR. .TP \fBhost\fR, \fB--hosts\fR=\fILIST\fR If host adapters are given, only these are scanned (default: all). .TP \fB--nooptscan\fR Don't stop looking for LUNs if 0 is not found. .TP \fB--color\fR Use coloured prefixes OLD/NEW/DEL. .P \fILIST\fR is a comma separated list of single values and ranges (no spaces allowed), e.g. 0,2-3,8,10-15. .SH AUTHOR .B rescan-scsi-bus.sh was written by Kurt Garloff . .SH COPYRIGHT This program is free software. You can use it under the terms of the .B GNU GPL (General Public License) Version 2 (or any later version, at your option). Note, that the GNU GPL implies, that there is .B NO WARRANTY at all. Full text of the GPL can be found in /usr/share/common-licenses/GPL file. .SH AVAILABILITY .B rescan-scsi-bus.sh is available from .nf .B http://www.garloff.de/kurt/linux/scsidev/ .fi