Linux – resizing partition using multipathd

linuxmultipath

redhat 6.3 with a multipath xfs partition.

i have already increased the LUN and need to reflect the increase in the filesystem. using xfs_growfs will not work yet unless i increased the partition size. since it's a multipath, i found there is this command to do that named "multipathd", the command to be used is

multipathd resize map multipath_device

for those who have already done it, is this command destructive or not? i'd like to run it on an online filesystem (backup is done).

Best Answer

I run this hot all the time and it is not destructive. However I'm using ext4 partitions on LVM2 rather than xfs and using resize2fs but that should make no difference.

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/DM_Multipath/online_device_resize.html is Red Hat's doc.