The rescan-scsi-bus.sh does not detect new LUNs
Environment
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
sg3_utils
package version1.28-6
and later
Issue
- I am running the
rescan-scsi-bus.sh
script but new devices do not get added
Resolution
- Try using the
-a
option to add devices and the-r
to remove ones. - For more information use
rescan-scsi-bus.sh --help
.
Root Cause
- The
rescan-scsi-bus.sh
has been changed in version1.28-6
, adding new options that permit finer control of its functions. - The functionality of the previous versions is closer to the one that comes with the
-a
and-r
options in the new script. - From the help provided by
rescan-scsi-bus.sh --help
one can see the following:
-a scan all targets, not just currently existing [default: disabled]
-r enables removing of devices [default: disabled]
Diagnostic Steps
- Use
yum list sg3_utils
to check the version of thesg3_utils
package Use rescan-scsi-bus.sh --help
to check for relevant options
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments