aboutsummaryrefslogtreecommitdiff
path: root/doc/rescan-scsi-bus.sh.8
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2016-01-06 05:13:36 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2016-01-06 05:13:36 +0000
commit4aff4a3415d4c4f20f32e2e29dddf4a8c178c1ba (patch)
tree680eba150eeb445c88a91ce587a10e10922b3bb5 /doc/rescan-scsi-bus.sh.8
parent9fbc884d5e7900d4edab95d18dc16d5ca8caa5b5 (diff)
downloadsg3_utils-4aff4a3415d4c4f20f32e2e29dddf4a8c178c1ba.tar.gz
sg_inq+sg_vpd+sg_xcopy: add support for locally assigned UUIDs in VPD page 0x83 (15-267r2)
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@655 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'doc/rescan-scsi-bus.sh.8')
-rw-r--r--doc/rescan-scsi-bus.sh.8117
1 files changed, 68 insertions, 49 deletions
diff --git a/doc/rescan-scsi-bus.sh.8 b/doc/rescan-scsi-bus.sh.8
index 5dc3e6d9..a5eb7c47 100644
--- a/doc/rescan-scsi-bus.sh.8
+++ b/doc/rescan-scsi-bus.sh.8
@@ -1,93 +1,112 @@
-.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.41.2.
-.TH RESCAN-SCSI-BUS.SH "1" "leden 2014" "rescan-scsi-bus.sh 1.57" "User Commands"
+.TH RESCAN-SCSI-BUS.SH "1" "January 2016" "rescan-scsi-bus.sh" "User Commands"
.SH NAME
-rescan-scsi-bus.sh \- script for adding and removing SCSI devices without rebooting
+rescan-scsi-bus.sh \- script to add and remove SCSI devices without rebooting
.SH SYNOPSIS
.B rescan-scsi-bus.sh
-[\fIoptions\fR] [\fIhost \fR[\fIhost \fR...]]
+[\fI\-\-alltargets\fR] [\fI\-\-attachpq3\fR] [\fI\-c\fR] [\fI\-\-color\fR]
+[\fI\-\--channels=CLIST\fR] [\fI\-d\fR] [\fI\-\-flush\fR]
+[\fI\-\-forceremove\fR] [\fI\-\-forcerescan\fR] [\fI\-\-help\fR]
+[\fI\-\-hosts=HLIST\fR] [\fI\-\-ids=TLIST\fR] [\fI\-\-issue\-lip\fR]
+[\fI\-l\fR] [\fI\-L NUM\fR] [\fI\-\-luns=LLIST\fR] [\fI\-\-multipath\fR]
+[\fI\-\-nooptscan\fR] [\fI\-\-remove\fR] [\fI\-\-removelun2\fR]
+[\fI\-\-resize\fR] [\fI\-\-sparselun\fR] [\fI\-\-sync\fR] [\fI\-\-update\fR]
+[\fI\-\-version\fR] [\fI\-\-wide\fR] [\fIHOST1 \fR[\fIHOST2 \fR...]]
.SH OPTIONS
.TP
\fB\-a\fR, \fB\-\-alltargets\fR
scan all targets, not just currently existing [default: disabled]
.TP
+\fB\-\-attachpq3\fR
+tell kernel to attach sg to LUN 0 that reports PQ=3
+.TP
+\fB\-c\fR
+enables scanning of channels 0 1 [default: 0 / all detected ones]
+.TP
+\fB\-\-color\fR
+use coloured prefixes OLD/NEW/DEL
+.TP
+\fB\-\-channels\fR=\fICLIST\fR
+scan only channel(s) in \fICLIST\fR
+.TP
\fB\-d\fR
enable debug [default: 0]
.TP
-\fB\-l\fR
-activates scanning for LUNs 0\-\-7 [default: 0]
+\fB\-f\fR, \fB\-\-flush\fR
+flush failed multipath devices [default: disabled]
.TP
-\fB\-L\fR NUM
-activates scanning for LUNs 0\-\-NUM [default: 0]
+\fB\-\-forceremove\fR
+remove and readd every device (DANGEROUS)
.TP
-\fB\-w\fR, \fB\-\-wide\fR
-scan for target device IDs 0\-\-15 [default: 0\-\-7]
+\fB\-\-forcerescan\fR
+rescan existing devices
.TP
-\fB\-c\fR
-enables scanning of channels 0 1 [default: 0 / all detected ones]
+\fB\-h\fR, \fB\-\-help\fR
+print usage message then exit
.TP
-\fB\-r\fR, \fB\-\-remove\fR
-enables removing of devices [default: disabled]
+\fB\-\-hosts\fR=\fIHLIST\fR
+scan only host(s) in \fIHLIST\fR
.TP
-\fB\-f\fR, \fB\-\-flush\fR
-flush failed multipath devices [default: disabled]
+\fB\-\-ids\fR=\fITLIST\fR
+scan only target ID(s) in \fITLIST\fR
.TP
\fB\-i\fR, \fB\-\-issue\-lip\fR
issue a FibreChannel LIP reset [default: disabled]
.TP
-\fB\-m\fR, \fB\-\-multipath\fR
-update multipath devices [default: disabled]
+\fB\-l\fR
+activates scanning for LUNs 0\-\-7 [default: 0]
.TP
-\fB\-u\fR, \fB\-\-update\fR
-look for existing disks that have been remapped
+\fB\-L\fR NUM
+activates scanning for LUNs 0\-\-NUM [default: 0]
.TP
-\fB\-s\fR, \fB\-\-resize\fR
-look for resized disks and reload associated multipath devices, if applicable
+\fB\-\-largelun\fR
+tell kernel to support LUNs > 7 even on SCSI2 devs
.TP
-\fB\-\-forcerescan\fR
-rescan existing devices
+\fB\-\-luns\fR=\fINLIST\fR
+scan only lun(s) in \fINLIST\fR
.TP
-\fB\-\-forceremove\fR
-remove and readd every device (DANGEROUS)
+\fB\-m\fR, \fB\-\-multipath\fR
+update multipath devices [default: disabled]
.TP
\fB\-\-nooptscan\fR
don't stop looking for LUNs is 0 is not found
.TP
-\fB\-\-color\fR
-use coloured prefixes OLD/NEW/DEL
-.TP
-\fB\-\-hosts\fR=\fILIST\fR
-scan only host(s) in \fILIST\fR
+\fB\-r\fR, \fB\-\-remove\fR
+enables removing of devices [default: disabled]
.TP
-\fB\-\-channels\fR=\fILIST\fR
-scan only channel(s) in \fILIST\fR
+\fB\-\-reportlun2\fR
+tell kernel to try REPORT_LUN even on SCSI2 devices
.TP
-\fB\-\-ids\fR=\fILIST\fR
-scan only target ID(s) in \fILIST\fR
+\fB\-s\fR, \fB\-\-resize\fR
+look for resized disks and reload associated multipath devices, if applicable
.TP
-\fB\-\-luns\fR=\fILIST\fR
-scan only lun(s) in \fILIST\fR
+\fB\-\-sparselun\fR
+tell kernel to support sparse LUN numbering
.TP
\fB\-\-sync\fR, \fB\-\-nosync\fR
issue a sync / no sync [default: sync if remove]
.TP
-\fB\-\-attachpq3\fR
-tell kernel to attach sg to LUN 0 that reports PQ=3
-.TP
-\fB\-\-reportlun2\fR
-tell kernel to try REPORT_LUN even on SCSI2 devices
+\fB\-u\fR, \fB\-\-update\fR
+look for existing disks that have been remapped
.TP
-\fB\-\-largelun\fR
-tell kernel to support LUNs > 7 even on SCSI2 devs
+\fB\-V\fR, \fB\-\-version\fR
+shows version string then exits. The version string is a numeric datestamp
+of the form YYYYMMDD.
.TP
-\fB\-\-sparselun\fR
-tell kernel to support sparse LUN numbering
+\fB\-w\fR, \fB\-\-wide\fR
+scan for target device IDs 0\-\-15 [default: 0\-\-7]
.IP
Host numbers may thus be specified either directly on cmd line (deprecated) or
or with the \fB\-\-hosts\fR=\fILIST\fR parameter (recommended).
.PP
-\fILIST\fR: A[\-B][,C[\-D]]... is a comma separated list of single values and ranges
-(No spaces allowed.)
+Arguments to options that end in \fILIST\fR (e.g. \fITLIST\fR) can have this
+form:
+.br
+ A[\-B][,C[\-D]]...
+.br
+which is a comma separated list of single values and/or ranges (no spaces
+allowed).
.SH SEE ALSO
-\fBrescan-scsi-bus.sh\fR Homepage: \fBhttp://www.garloff.de/kurt/linux/#rescan-scsi\fR
+\fBrescan-scsi-bus.sh\fR Homepage:
+\fBhttp://www.garloff.de/kurt/linux/#rescan-scsi\fR
.PP
\fBsg3_utils\fR Homepage: \fBhttp://sg.danny.cz/sg\fR