Add new disk in multipath

KUPI

Member
Joined
Aug 30, 2019
Messages
30
Reaction score
5
Credits
237
Hello Team,

Good Day.

I have an situation where we need to extend the file systems as it is exceeded the threshold limit.
currently the filesystem is configured in multipath.

In my earlier experience, we use to share the WWID of the respective LUN to the storage team for extending the existing LUN. then we scan and do pvresize and extend LV.

Now they are going to add the new LUN. I have to create a PV, Vgextend, lvextend.
I have not done this before in multipath.
I have prepared the below steps for extending the LV. Could you please check and correct me if its wrong.

1) Storage team for new LUN with 1TB size.
2) scan the disk at OS level.
ls /sys/class/scsi_host/ | while read host ; do echo "- - -" > /sys/class/scsi_host/$host/scan ; done
3) Verify the new lun at OS level.
lsblk
4) Get the correct wwid of the new disk.
ll /dev/disk/by-id
5) pvcreate /dev/mapper/<device>
6) vgcreate vg_data <pvname>
7) lvextend -l +100%FREE /dev/mapper/dev_date_arc -r
8) Validate new size df -Th
 



Top