/usr/sbin/extendvg: Unable to extend volume group

Dear Expret,

Help me about my issue,
I trying add new disk to volume Group but error:

step add new disk to volume group.

  1. ~Change a Volume Group
    Add a Physical Volume to a Volume Group
    Remove a Physical Volume from a Volume Group
    Reorganize a Volume Group

  2. Force the creation of a volume group? no +

  • VOLUME GROUP name [sapvg] +
  • PHYSICAL VOLUME names [hdisk11 hdisk12 hdisk> +
  1. error:

please your solution..

regards,
~ruhul amin

Can you show us the output from the following:-

oslevel -s
lsvg sapvg
lsvg -p sapvg

When creating a volume group, some limits are either set or assumed and it may be that you've hit one of these.

Robin

dear Erbat,

oslevel -s : 6100-04-04-1014

Volume group SAPVG old, not me create the volume group.
How to add new disk to volume group not error..

please your advice

Dear williamen,

Erbat? Who is Erbat? I'm either rbatte1 or Robin.

Anyway, thanks for the output. It gives us:-

PP SIZE:  512 megabyte(s)

From the manual page for mkvg, we read:-

I think that you have reached this limit. Have a calculate to see if you agree. When creating the VG, the PP size has been set larger, possibly automatically for a 3Tb volume group.

Read the manual page for chvg and see if you might get away with chvg -G but read the manual first to see if it applies safely to you.

You may need to build a new volume group and add more logical volumes in there. Our main Oracle database has 12 volume groups with around 30 logical volumes in each. What do you need to add the extra disk for? There is space to grow LVs in your current VG - although it's only about about 3G which is pretty small for this VG I suppose.

Robin

Its simple, what you have to do is, change the VG to big VG,
chvg -B sapvg
That's it,

See, currently the max PVs you can accommodate in that VG is 8, changing it to Big will increase the no of PV to 128.

So you can have more PVs and more PPs.

It's same thing what rbattel brought out.
As he said the default for normal vg is 32 PVs.

1 Like

Dear all,

Many Thank for the support.
Volume group has already maximum, If I change the group name we scare to impact.

but, I create new name volume group.

thank all

Why would you change the volume group name? changing to big vg should be fine without impacting anything. You created new VG?