DM Resize a DM-Multipath Device: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 7: | Line 7: | ||
# Resize the multipath device. | # Resize the multipath device. | ||
#: <tt>'''# multipathd -k resize map <multipath_device>'''</tt> | #: <tt>'''# multipathd -k resize map <multipath_device>'''</tt> | ||
# Resize the filesystem. | # Resize the filesystem (assuming no LVM or DOS partitions are used). | ||
#: <tt>'''# resize2fs /dev/mapper/<multipath_device>'''</tt> | #: <tt>'''# resize2fs /dev/mapper/<multipath_device>'''</tt> | ||
Latest revision as of 03:32, 28 January 2022
Resize an Online Multipath Device
- Resize the LUN on the storage subsystem.
- Find and record the device paths to the LUN.
- # multipath -l
- Resize the the SCSI block device.
- # echo 1 > /sys/block/<device>/device/rescan
- Resize the multipath device.
- # multipathd -k resize map <multipath_device>
- Resize the filesystem (assuming no LVM or DOS partitions are used).
- # resize2fs /dev/mapper/<multipath_device>