When you are using an FC or hardware iSCSI environment, you can use the rescan script to discover the LUNs you have created and mapped to the Linux host.
You must have a copy of the rescan script. The rescan script is available with the sg3_utils package. In addition, the rescan script is available with Red Hat Enterprise Linux 5 Update 4 or later; Red Hat Enterprise Linux 6 and 7 series; SUSE Linux Enterprise Server 10 SP2 or later; and SUSE Linux Enterprise Server 11 and 12 series. For earlier versions, you can use the vendor-specific rescan scripts, which are available on their web sites. See the HBA vendor-specific documentation.
If you are using Red Hat Linux Enterprise | Enter... |
---|---|
5 and 6 series, up to 6.5 | /usr/bin/rescan-scsi-bus.sh |
6.6 and later and 7 series | /usr/bin/rescan-scsi-bus.sh -a |