HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Showing results for 
Search instead for 
Did you mean: 

vgextned problem?

Frequent Advisor

vgextned problem?

1、 vg01 within which lvs are strip,
2、 4 disks in vg01;
3、 now, i want to add 2 more disk to vg01;
4、 but ,failed?
5、should add 4 disk ?
Steven E. Protter
Exalted Contributor

Re: vgextned problem?


Well,not a lot to go on.

The failure message would help.

Normally what happens is there are not enough extents in the volume group to allocate to the new disks. So trying to add 4 more disks will not help.

Better to rebuild the volume group.

vgexport it.

vgcreate it anew using perhaps the -p of disks option. This changes the default allocation scheme and normally permits a better allocation plan. Or the -s option for bigger size of extents.

After vgcreate you vgimport the old volume group disks and should be able to vgextend.

The error message would be very helpful in making my guess.

Steven E Protter
Owner of ISN Corporation
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Robert-Jan Goossens
Honored Contributor

Re: vgextned problem?


Yes, if you have striped your logical volumes over 4 disks and you would like to extend these volumes, you should add another 4 disks.

Prashanth Waugh
Esteemed Contributor

Re: vgextned problem?

Hi ,

Pls paste here what error u r getting while adding disk

For success, attitude is equally as important as ability
Prashanth Waugh
Esteemed Contributor

Re: vgextned problem?


if ur using storage ,lun, raid etc.Its not possible to add only 2 disks.
Then u have to add 4 disks.( it may be 1 lun if ur using 4 disk for creating 1 lun) .Bcos u wrote that we r using striping .

use the
commands. check the man pages for it.I
hope that u will be aware to all these steps

For success, attitude is equally as important as ability
Ganesan R
Honored Contributor

Re: vgextned problem?

Hi Huaxiang,

vgextend is nowhere related to striping. Striping comes into picture when you create logical volumes. You can have both striped and non-striped lv's on a VG.

You can extend the VG in your case. If you could provide the error message and the commands you followed to extend the VG, will be helpful to assist you.
Best wishes,