LVM and VxVM

HPUX not recognising EVA3000 Disk increase

 
SOLVED
Go to solution
Andre Thompson_1
Frequent Advisor

HPUX not recognising EVA3000 Disk increase

Hi Everyone

I have a RP3440 running HPUX B.11.23 U 9000/800
I have the disks defined from an EVA3000 SAN.

I need to increase the size of one of my disk partitions (LVM) so I increased the size of the disk at the SAN.

What is the next step for the HPUX to see the disk increase?

Thanks in advance.

- Andre
8 REPLIES 8
Steven E. Protter
Exalted Contributor

Re: HPUX not recognising EVA3000 Disk increase

Shalom,

Fast way:

Boot the hpux box

Slow way:
play with ioscan. It should be possible to get disk space recognized on an EVA without booting.

I've honestly made it happen accidently a few times but didn't document the steps.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Patrick Wallek
Honored Contributor

Re: HPUX not recognising EVA3000 Disk increase

HP-UX does not support resizing of LUNs. LVM does not recognize it.

The easiest way to increase the size of a VG/LV is to create a new LUN and then do your VGEXTEND to add it to the VG and then an lvextend and fsadm to extend the LV and increase the filesystem.
Andre Thompson_1
Frequent Advisor

Re: HPUX not recognising EVA3000 Disk increase

I think I got 2 seemingly conflicting answers?

Which one is correct?

- Andre
John Payne_2
Honored Contributor

Re: HPUX not recognising EVA3000 Disk increase

Create a 2nd LUN, extend the VG.

Hope it helps
JOhn
Spoon!!!!
Patrick Wallek
Honored Contributor
Solution

Re: HPUX not recognising EVA3000 Disk increase

Have a look at this document from the TKB.

Submitted Date: 12/17/04
Title: volume group on a LUN - increase size
Document ID: KBRC00016113
Last Modified Date: 9/14/05
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000081003186
Andre Thompson_1
Frequent Advisor

Re: HPUX not recognising EVA3000 Disk increase

Thanks Everyone.

Sounds like I have to recreate a LUN.

- Andre
tom quach_1
Super Advisor

Re: HPUX not recognising EVA3000 Disk increase

Andre,

No you don't have to create new volume group.

Ask HP support for unsupport script, the name is
vgmodify

--increase the LUN in your EVA3000
ex: to 10GB
if your physical drive was default at 16 when created volume group, then run as below to reduce it

#vgmodify â p 3 /dev/vgSUNWK (reduce physical drive in volume group to 3 to gain more VGRA on the header)

#./vgmodify â d 10g /dev/vgtest (increase disk vgtest to 10g need to de-activate the volume group)

Works everytime in my environment
HP-UX 11.11 & EVA3000

Hope this helps!
Tom
tom quach_1
Super Advisor

Re: HPUX not recognising EVA3000 Disk increase

Sorry missed this

you don't have to create a new LUN, just increase it.

Regards,
Tom