Product SiteDocumentation Site

Chapter 5. DM-Multipath Administration and Troubleshooting

5.1. Resizing an Online Multipath Device
5.2. The Multipath Daemon
5.3. Issues with Large Number of LUNs
5.4. Issues with queue_if_no_path feature
5.5. Multipath Command Output
5.6. Multipath Queries with multipath Command
5.7. Multipath Command Options
5.8. Determining Device Mapper Entries with the dmsetup Command
5.9. Troubleshooting with the multipathd Interactive Console
This chapter will provide information on administering DM-Multipath on a running system. It includes sections on the following topics:

5.1. Resizing an Online Multipath Device

If you need to resize an online multipath device, use the following procedure.
  1. Resize your physical device.
  2. Use the following command to find the paths to the LUN:
    # multipath -l
  3. Resize your paths. For SCSI devices, writing a 1 to the rescan file for the device causes the SCSI driver to rescan, as in the following command:
    # echo 1 > /sys/block/device_name/device/rescan 
  4. Resize your multipath device by running the multipathd resize command:
    # multipathd -k'resize map mpatha'
  5. Resize the filesystem (assuming no LVM or DOS partitions are used):
    # resize2fs /dev/mapper/mpatha