Reese Knowledgebase

Resizing an Online Multipath Device

View Kristian Reese's profile on LinkedIn


If you like this article, please +1 or Recommend via FB with the provided buttons above:

Article ID: 144
by: Reese K.
Posted: 27 Nov, 2013
Last updated: 27 Nov, 2013
Views: 2153

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:

# echo 1 > /sys/block/device_name/device/rescan

4. Resize your multipath device by running the multipathd resize command:

# multipath -k'reisze map mpathX'

5. Resize the file system (assuming no LVM or DOS partition are used):

# resize2fs /dev/mapper/mpathX

This article was:   Helpful | Not Helpful
External links
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/DM_Multipath/MPIO_admin-troubleshoot.html#online_device_resize

Prev   Next
snmpd floods /var/log/messages syslog     How to share ssh command line with someone via screen

RSS