Operating System - HP-UX
1832857 Members
3100 Online
110048 Solutions
New Discussion

Volume Group Extending....

 
SOLVED
Go to solution
Dave Cast
Frequent Advisor

Volume Group Extending....

Can a volume group be extended ****WITHIN**** the SAME disk (yes, I know you can extend by adding a DIFFERENT disk) once created?
Today is different and tomorrow the same.
6 REPLIES 6
James R. Ferguson
Acclaimed Contributor

Re: Volume Group Extending....

Hi Dave:

On 11.23 (with patches) and on 11.31 you have 'vgmodify' to fiddle with the attributes of an existing volume group.

Regards!

...JRF...
Dave Cast
Frequent Advisor

Re: Volume Group Extending....

Hmmmm - that's sounds like it has a potential for being ugly....being even more ugly now that I've read the man page on vgmodify....

Generally speaking it doesn't sound like there's an 'easy' (smh doesn't have the option to extend within the disk) way....
Today is different and tomorrow the same.
James R. Ferguson
Acclaimed Contributor

Re: Volume Group Extending....

Hi (again) Dave:

I'm not sure what it is you want to do. Perhaps this whitepaper will give you a better view of 'vgmodify':

http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf (BSC link updated by admin)

Regards!

...JRF...
Patrick Wallek
Honored Contributor

Re: Volume Group Extending....

vgmodify actually works pretty well. I have used a version of it for 11.11 and had no trouble. I would just advise reading the man page carefully and make sure you have good backups.
Dave Cast
Frequent Advisor

Re: Volume Group Extending....

James,

I have a a LUN presented from an EVA 8000 - I increased the size from 200G to 250G on the EVA. I ran ioscan -fnC Disk on the OS (11.31) and it sees the new size of 250G at the disk level, but when I go to extend the VG that's on that disk - the only option I have is to extend to a different disk.
Today is different and tomorrow the same.
Patrick Wallek
Honored Contributor
Solution

Re: Volume Group Extending....

That's exactly where 'vgmodify' comes into play.

On my HP-UX 11.11 server I ran:

vgmodify -e 20000 vg04

To increase the maximum number of physical extents to 20,000 for VG04.