Red Hat Training
A Red Hat training course is available for Red Hat Enterprise Linux
1.15. Adding/Removing a Logical Unit Through rescan-scsi-bus.sh
sg3_utilspackage provides the
rescan-scsi-bus.shscript, which can automatically update the logical unit configuration of the host as needed (after a device has been added to the system). The
rescan-scsi-bus.shscript can also perform an
issue_lipon supported devices. For more information about how to use this script, refer to
To install the
yum install sg3_utils.
Known Issues With rescan-scsi-bus.sh
When using the
rescan-scsi-bus.shscript, take note of the following known issues:
- A race condition requires that
rescan-scsi-bus.shbe run twice if logical units are mapped for the first time. During the first scan,
LUN0; all other logical units are added in the second scan.
- A bug in the
rescan-scsi-bus.shscript incorrectly executes the functionality for recognizing a change in logical unit size when the
--removeoption is used.
rescan-scsi-bus.shscript does not recognize ISCSI logical unit removals.