Is it possible to dynamically resize emc lun which is using powerpath

emclunpowerpathstorage

*I have the below mount which is coming from EMC storage and uses powerpath drivers .Now Storage has resized this to 1.5 TB , is it possible to resize this in host without any downtime .

[root@xxxxxxx emcpowera]# powermt display dev=emcpowera

Pseudo name=emcpowera
VNX ID=xxxxxx
 [xxxxxxx_122014]

Logical device ID=dsdsdsdsdsdsds11 [xxxxxx
_122014_orcl_bkup]

state=alive; policy=CLAROpt; queued-IOs=0


******************


[root@xxxxemcpowera]# df -hP /orcl_bkup

Filesystem                             Size  Used Avail Use% Mounted on

/dev/mapper/vg_orcl_bkup-lv_orcl_bkup  886G  779G   99G  89% /orcl_bkup

************************
[root@xxxxxxx emcpowera]# pvs | grep -i powera

 /dev/emcpowera vg_orcl_bkup     lvm2 a--  900.00g     0

Best Answer

the only thing you need to do after you resized the luns in your storage is, echo 1 > /sys/block/<subpath>/device/rescan for every subpath of emcpowera

Now you need to tell to your server, the size of /dev/emcpowera has changed, use sfdisk -R /dev/emcpowera

If you are using /dev/emcpowera as physical volume, use pvresize /dev/emcpowera, after this you can resize your logical volume and the filesystem