Dear Expret,
Help me about my issue,
I trying add new disk to volume Group but error:
Before command completion, additional instructions may appear below.
0516-1163 /usr/sbin/extendvg: sapvg already has maximum physical volumes. With
the maximum
number of physical partitions per physical volume being 16256, the maxim
um
number of physical volumes for volume group sapvg is 8.
0516-792 /usr/sbin/extendvg: Unable to extend volume group.
step add new disk to volume group.
~Change a Volume Group
Add a Physical Volume to a Volume Group
Remove a Physical Volume from a Volume Group
Reorganize a Volume Group
Force the creation of a volume group? no +
VOLUME GROUP name [sapvg] +
PHYSICAL VOLUME names [hdisk11 hdisk12 hdisk> +
error:
Before command completion, additional instructions may appear below.
0516-1163 /usr/sbin/extendvg: sapvg already has maximum physical volumes. With
the maximum
number of physical partitions per physical volume being 16256, the maxim
um
number of physical volumes for volume group sapvg is 8.
0516-792 /usr/sbin/extendvg: Unable to extend volume group.
# lspv
hdisk0 00cd330548658bc6 rootvg active
hdisk1 00cd33053c0d7203 rootvg active
hdisk2 00cd3305a919278a sapvg active
hdisk3 00cd3305a9192838 sapvg active
hdisk4 00cd33057b76e7ff sapvg active
hdisk5 00cd33057b76e8b6 sapvg active
hdisk6 00cd33057b76e966 sapvg active
hdisk7 00cd33057b76ea15 sapvg active
hdisk8 00cd33057b7ad793 sapvg active
hdisk10 00cd3305a2aa7dcd sapvg active
hdisk11 00cd3305e653498e None
hdisk12 00cd3305e6534a49 None
hdisk13 00cd3305e6534b18 None
hdisk14 none None
I will add Hdisk10-hdisk14 to group name sapvg.
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:-
When creating the default volume group type (with a maximum of 32 PVs) or the big volume group type (with a maximum of 128 PVs), there is a
limitation of 1016 physical partitions per PV. When specifying the physical partition size (-s), make sure the value is set large enough so
that 1016 physical partitions per PV limit is not violated. For example, a partition size of at least 16 MB would be needed to create a volume
group with a 10 GB disk. Using a factor size (-t) of 2, a smaller partition size of 8 MB can be used. If a factor value is specified, the
maximum number of PVs that can be included in the volume group is MaxPVs/factor.
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?