1752270 Members
4387 Online
108786 Solutions
New Discussion юеВ

Re: vgmodify error

 
JxD
Advisor

vgmodify error

I am trying to increase the maximum size of a version 2.2 volume group as follows:

# vgmodify -r -a -E -S 1t /dev/vgshare

This is just the review step. For every PV in the VG I get an error message as follows:

vgmodify: Error: Failed to preview physical volume "/dev/disk/disk16"
reconfiguration.
vgmodify: Physical volume could not be reconfigured due to invalid metadata contents.

However, all PV's are successfully contained in the VG and there have been no problems in operation. Any thoughts or comments would be appreciated.
4 REPLIES 4
INH
Regular Advisor

Re: vgmodify error

JxD,
Have a look on man page of vgmodify

I would recheck the disk if it all looks fine, using , diskinfo, pvdisplay...

Rgds,
INH
Knowledge is power
seenivasan
Frequent Advisor

Re: vgmodify error

Hi,

check the value of Max PE per PV..

Regards,
Seenivasan P
Torsten.
Acclaimed Contributor

Re: vgmodify error

What is your 11.31 update release?

"...
The vgmodify command is supported on Version 1.0 and Version 2.x volume groups. Version 2.x
support is provided starting with the HP-UX 11i v3 March 2009 Update. "

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
JxD
Advisor

Re: vgmodify error

I am on the October, 2010 update release which as you say does support 2.x volume groups, etc.

I have had no problems with using the other features of 2.2 VG's like snapshots. But the vgmodify command is giving this error.

I have checked diskinfo, pvdisplay etc. but it really doesn't seem like a problem with the drives, to me.

Thanks for the assist.