DM Resize a DM-Multipath Device: Difference between revisions

From UNIX Systems Administration
Jump to navigation Jump to search
(Created page with "== Resize an Online Multipath Device== # Resize the LUN on the storage subsystem. # Find and record the device paths to the LUN. ## <tt>'''# multipath -l'''</tt> # Resize the ...")
 
No edit summary
Line 9: Line 9:
# Resize the filesystem.
# Resize the filesystem.
## <tt>'''# resize2fs /dev/mapper/<multipath device>'''</tt>
## <tt>'''# resize2fs /dev/mapper/<multipath device>'''</tt>
== Further Reading ==
# [https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/DM_Multipath/MPIO_admin-troubleshoot.html#online_device_resize Resizing an Online Multipath Device]
[[Category:Linux]]

Revision as of 22:17, 19 January 2015

Resize an Online Multipath Device

  1. Resize the LUN on the storage subsystem.
  2. Find and record the device paths to the LUN.
    1. # multipath -l
  3. Resize the the SCSI block device.
    1. # echo 1 > /sys/block/<block device>/device/rescan
  4. Resize the multipath device.
    1. # multipathd -k'resize map <multipath device>'
  5. Resize the filesystem.
    1. # resize2fs /dev/mapper/<multipath device>

Further Reading

  1. Resizing an Online Multipath Device