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:

  1. 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.
  2. Ensure that DMMP is enabled.
  3. Ensure that the LUNS that need to be expanded are not mounted and are not used by applications.
  4. Run sh rescan-scsi-bus.sh -r.
  5. Run multipath -F.
  6. Run multipath.
  7. 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:

  1. Update the HBA driver by installing or updating the files sg3_utils-*.rpm and sg3_utils-libs-*.rpm to the latest version.
  2. Ensure that DMMP is enabled.
  3. Ensure that the LUNS that need to be expanded are not mounted and are not used by applications.
  4. Run sh rescan-scsi-bus.sh -r.
  5. Run multipath -F.
  6. Run multipath.
  7. Run multipath -ll to view that LUN sizes are expanded successfully without a reboot.