/usr/bin/rescan-scsi-bus.sh

From wikieduonline
Revision as of 12:58, 16 December 2019 by Welcome (talk | contribs)
Jump to navigation Jump to search

rescan-scsi-bus.sh included in sg3-utils package.

rescan-scsi-bus.sh -h
rescan-scsi-bus.sh --alltargets or rescan-scsi-bus.sh -a
...
...
32 new or changed device(s) found.
0 remapped or resized device(s) found.
0 device(s) removed.
rescan-scsi-bus.sh
Scanning SCSI subsystem for new devices
Scanning host 0 for  SCSI target IDs  0 1 2 3 4 5 6 7, all LUNs
 Scanning for device 0 0 0 0 ...
.../...
Scanning host 1 for  all SCSI target IDs, all LUNs
Scanning host 2 for  SCSI target IDs  0 1 2 3 4 5 6 7, all LUNs
 Scanning for device 2 0 0 0 ...
.../...
Scanning host 3 for  all SCSI target IDs, all LUNs
0 new or changed device(s) found.
0 remapped or resized device(s) found.
0 device(s) removed.


Activities

  1. Understand differences between pvscan which list all physical volumes and rescan-scsi-bus.sh

See also

Advertising: