cancel
Showing results for 
Search instead for 
Did you mean: 

Expand VM's RDM in Linux SFHA.

oberlander1
Not applicable

Were testing virtual DB2 databases with SFHA 5.1-SP1-MP2 and im trying to increase a DB2 (vxfs) filesystem on the fly in RHEL5.8.

Storage is presented from an IBM XIV ---> IBM SVC---->Esx5.0--->2 VM's.  I increased the lun size by 1G for testing and getting errors when trying vxresize and vxdisk resize.

ESX Luns were rescaned, the lun now shows 201G

vxprint for dpodq03idg11 that was increased

v  db2data_01   fsgen        ENABLED  628764960 -       ACTIVE   -       -
pl db2data_01-01 db2data_01  ENABLED  628764960 -       ACTIVE   -       -
sd dpodq03idg05-01 db2data_01-01 ENABLED 209534256 0    -        -       -
sd dpodq03idg11-01 db2data_01-01 ENABLED 419230704 209534256 -   -       -

 

vxdg free shows

GROUP        DISK         DEVICE       TAG          OFFSET    LENGTH    FLAGS
dpodq03idg   dpodq03idg08 san_vc0_8    san_vc0_8    41766912  544       -

 

I've tried the following to try to get vxdg free to show the san_vc0_7/dpodq03idg11 added space with no luck.

blockdev --rereadpd /dev/sdh

rescan scsi bus

./vxresize -g dpodq03idg -F vxfs dpodq03idg11 +1999m

vxdctl enable

vxdisk -g dpodq03idg resize san_vc0_7

vxdisk -g dpodq03idg resize sdh

 

What am I missing that will allow SF to see the new space?

 

Thanks,

John

 

 

1 REPLY 1

mikebounds
Level 6
Partner Accredited

What errors are you getting on which commands.

You should be running vxdisk resize first and then vxresize, as you have shown these 2 commands the other way round above.  You won't see a difference in vxprint or vxdg free until "vxdisk resize" command has worked.

Mike