Operating System - HP-UX
1832864 Members
2776 Online
110048 Solutions
New Discussion

Re: Can i resize logical volume

 
Musaddaq_1
Occasional Contributor

Can i resize logical volume

Hi
We have HP-UX platform on 9iRac(Raw device).
We have seperate Logical Volumes for each Datafiles. My question is Can i resize my Logical volume once it gets filled or i have to make larger LV and copy datafile there.
Plz advice me some better solution regarding this
4 REPLIES 4
Robert-Jan Goossens
Honored Contributor

Re: Can i resize logical volume

Hi,

You can resize (grew) your filesystem. You will have to stop your application before you extend you filesystem.

# lvextend -L size_in_mb /dev/vgXX/lvolx

Just don't use extendfs because you are using raw volumes.

Best regards,
Robert-Jan
Bharat Katkar
Honored Contributor

Re: Can i resize logical volume

Hi,
I think you will have to recreate the LV (since this is an raw device) with the new size and therefore you need to have backup of previous Datafile. Wait for some more inputs as well.
Regards,
You need to know a lot to actually know how little you know
Musaddaq_1
Occasional Contributor

Re: Can i resize logical volume

Thanx a lot Mr Robert-Jan
It was a real useful information from your side.Next thing i wud like to know Is there any limitation in extending LV.
I mean what is maximum size i can go for.
And secondly can u suggest me some good Docs regarding LV.

Thanx once again
Geoff Wild
Honored Contributor

Re: Can i resize logical volume

See "Managing Systems and Workgroups"

http://docs.hp.com/hpux/onlinedocs/5990-8172/5990-8172.html

In particular, section on "Administering a System: Managing Disks and Files "

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.