1830671 Members
2406 Online
110015 Solutions
New Discussion

vgextend error

 
SOLVED
Go to solution
Raji Murthy
Occasional Advisor

vgextend error

When I tried to extend one of my volume group I got this message. Can anyone help me to resolve this?

----------------------------------------------

vgextend: Not enough physical extents per physical volume.
Need: 1057, Have: 1023.
Volume group "/dev/vg01" has been successfully extended.
Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf

Thanks
be good and do good
7 REPLIES 7
Kurt Beyers.
Honored Contributor

Re: vgextend error

There wasn't enough free space on your disk for the vgextend you've defined. So the vgextend just took the free space he still could claim. Have a look with "vgdisplay -v /dev/vg01", you'll see that the sizes are a bit smaller.

Kurt
Patrick Wallek
Honored Contributor

Re: vgextend error

The resolution is easy -- Use a smaller size for you LV extension. You've got 1023 free extents (probably 4092 MB) and you're trying to extend by 1057 extents (4228 MB). Decrease the size you want to make the LV by 150MB and you should be OK.
Sandip Ghosh
Honored Contributor

Re: vgextend error

This means it was looking for a physical devie with 1057 extent but it got the physical device with 1053 extents and it has increased the Volume Group by 1053 extents.

Sandip
Good Luck!!!
Sanjay_6
Honored Contributor

Re: vgextend error

Hi,

your max PE value for the Vg is more than the possible PE's for the disk on which you are trying to extend this VG.

The max size of a disk that can be included in the Vg you are trying to extend is
maxPE*PESize
1023*4 ==> 4092MB.

The disk that you are trying to add can have 1057PE's
Disk Capacity ==> 1057*4 --> 4228MB

Since you can only utilize 4092 MB from any large capacity disk added to this VG, your PE on the disk has been reduced to 1023.

Try this link,

http://us-support.external.hp.com/cki/bin/doc.pl/sid=9bf701c419829ffc51/screen=ckiDisplayDocument?docId=200000055877488


The error that you are receiving is not a problem.

Hope this helps.

Regds
Raji Murthy
Occasional Advisor

Re: vgextend error

Can I continue with this message? So I am not utilizing the full capacity of the disk right?
The volume group has seagate drives Now I am adding EMC DRIVES they are little bigger in size.

Thanks
be good and do good
Sanjay_6
Honored Contributor
Solution

Re: vgextend error

Hi,

since you are not loosing much disk space. you can continue with this disk without any problem.

Hope this helps.

Regds
Sandip Ghosh
Honored Contributor

Re: vgextend error

Are you creating a fresh volume group? If it is yes , I would suggest to create the Volume Group with higher max PE.

vgcreate -e 10000 /dev/vg01 /dev/dsk/cxtydz

Sandip
Good Luck!!!