DM Resize a DM-Multipath Device: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 2: | Line 2: | ||
# Resize the LUN on the storage subsystem. | # Resize the LUN on the storage subsystem. | ||
# Find and record the device paths to the LUN. | # Find and record the device paths to the LUN. | ||
# | #: <tt>'''# multipath -l'''</tt> | ||
# Resize the the SCSI block device. | # Resize the the SCSI block device. | ||
# | #: <tt>'''# echo 1 > /sys/block/<block device>/device/rescan'''</tt> | ||
# Resize the multipath device. | # Resize the multipath device. | ||
# | #: <tt>'''# multipathd -k'resize map <multipath device>''''</tt> | ||
# Resize the filesystem. | # Resize the filesystem. | ||
# | #: <tt>'''# resize2fs /dev/mapper/<multipath device>'''</tt> | ||
== Further Reading == | == Further Reading == |
Revision as of 14:59, 12 December 2017
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/<block device>/device/rescan
- Resize the multipath device.
- # multipathd -k'resize map <multipath device>'
- Resize the filesystem.
- # resize2fs /dev/mapper/<multipath device>