Online rescanning of LUNs on Linux hosts
Use this information to use online scanning on Linux hosts on the system.
The following procedures are supported on Red Hat versions 6.2 and 6.4 and SLES versions 11.1 and 11.2.
To online scan new LUNs, complete the following steps:
- Update the HBA driver by installing or updating the files sg3_utils-*.rpm and sg3_utils-libs-*.rpm to the latest version supplied in your Linux distribution.
- Ensure that DMMP is enabled.
- Ensure that the LUNS that need to be expanded are not mounted and are not used by applications.
- Run
sh rescan-scsi-bus.sh -r
. - Run
multipath -F
. - Run
multipath
. - Run
multipath -ll
to view that LUN sizes are expanded successfully without a reboot.
To online expand or shrink new LUNs, complete the following steps:
- Update the HBA driver by installing or updating the files sg3_utils-*.rpm and sg3_utils-libs-*.rpm to the latest version.
- Ensure that DMMP is enabled.
- Ensure that the LUNS that need to be expanded are not mounted and are not used by applications.
- Run
sh rescan-scsi-bus.sh -r
. - Run
multipath -F
. - Run
multipath
. - Run
multipath -ll
to view that LUN sizes are expanded successfully without a reboot.