1. Resize the LUN in the storage array using the tools provided by the storage vendor
  2. Make a note of all the devices making up the multipath device by running multipath -ll
  3. For each device listed, rescan: echo 1 > /sys/block/sdX/device/rescan
  4. Enter multipath interactive mode: multipathd -k
  5. At the prompt del path sdX and add path sdX for each device
  6. enter resize map MULTIPATH_MAP_NAME e.g. resize map mpath12
  7. either
    1. resize the partition (filesystem must be unmounted) pvresize –setphysical VOLNAME SIZE /dev/mapper/mpathXp1
  8. or
    1. create a new partition with fdisk (type 8e) in the free space
    2. rescan all devices (as per step 3)
    3. pvcreate new partition
    4. add the new PV to the volume group
  9. lvextent the logical volume
  10. Use resize2fs to resize the filesystem

Recent Changes

Contribute to this wiki

Why not help others by sharing your knowledge? Contribute something to this wiki and join out hall of fame!
Contact us for a user name and password