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


 
Thread Tools Search this Thread
Operating Systems AIX /usr/sbin/extendvg: Unable to extend volume group
# 1  
Old 06-06-2014
/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:

Quote:
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.
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> +

3. error:
Quote:
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.


Quote:
# 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

Last edited by williamen; 06-06-2014 at 09:54 AM..
# 2  
Old 06-06-2014
Can you show us the output from the following:-
Code:
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
# 3  
Old 06-06-2014
dear Erbat,

oslevel -s : 6100-04-04-1014
Quote:
# lsvg sapvg
VOLUME GROUP: sapvg VG IDENTIFIER: 00cd330500004c000000012a7c93a050
VG STATE: active PP SIZE: 512 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 6010 (3077120 megabytes)
MAX LVs: 512 FREE PPs: 643 (329216 megabytes)
LVs: 33 USED PPs: 5367 (2747904 megabytes)
OPEN LVs: 33 QUORUM: 5 (Enabled)
TOTAL PVs: 8 VG DESCRIPTORS: 8
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 8 AUTO ON: yes
MAX PPs per VG: 130048
MAX PPs per PV: 16256 MAX PVs: 8
LTG size (Dynamic): 1024 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
Quote:
# lsvg -p sapvg
sapvg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk2 active 999 30 00..00..00..00..30
hdisk3 active 999 19 00..00..00..00..19
hdisk4 active 7 4 00..00..01..01..02
hdisk5 active 999 30 00..00..30..00..00
hdisk6 active 999 0 00..00..00..00..00
hdisk7 active 999 0 00..00..00..00..00
hdisk8 active 9 3 00..00..00..01..02
hdisk10 active 999 557 157..00..00..200..200
Volume group SAPVG old, not me create the volume group.
How to add new disk to volume group not error..

please your advice
# 4  
Old 06-06-2014
Dear williamen,

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

Anyway, thanks for the output. It gives us:-
Code:
PP SIZE:  512 megabyte(s)

From the manual page for mkvg, we read:-
Quote:
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
# 5  
Old 06-06-2014
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.

Last edited by ibmtech; 06-06-2014 at 11:08 AM.. Reason: Added another comment.
This User Gave Thanks to ibmtech For This Post:
# 6  
Old 06-12-2014
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
# 7  
Old 06-12-2014
Why would you change the volume group name? changing to big vg should be fine without impacting anything. You created new VG?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Unable to extend volume group(VG)

Would some help me on this below I am trying to extend file system on AIX and however unable to extend the file system. 0516-306 extendvg: Unable to find physical volume 20 in the Device Configuration Database. 0516-321 extendvg: Physical volume u01-lv is not configured. 0516-792... (15 Replies)
Discussion started by: murali969
15 Replies

2. Shell Programming and Scripting

Alternative for /usr/sbin/userdbset on Linux

Hello. I am currently on HPUX and migrating to Linux RHEL 6.4 This program on hpux: /usr/sbin/userdbset is puzzling me on linux. Does anyone know the equivilent program forked or used on linux. This program is mentioned in our user reset script. here is a strings of the... (2 Replies)
Discussion started by: olyanderson
2 Replies

3. UNIX for Dummies Questions & Answers

How to create a volume group, logical volume group and file system?

hi, I want to create a volume group of 200 GB and then create different file systems on that. please help me out. Its becomes confusing when the PP calculating PP. I don't understand this concept. (2 Replies)
Discussion started by: kamaldev
2 Replies

4. UNIX for Dummies Questions & Answers

Unable to reduce the size of volume group?

My volume group of size 200 gb. out of which only 100 gb is used by 2 logical volumes /dev/vg00/lvol0 and /dev/vg00/lvol0 respectively (both are 50 gb each). Whenever i use vgreduce command to reduce the size of volume group i get below error. # vgreduce vg00 -a Physical volume... (16 Replies)
Discussion started by: pinga123
16 Replies

5. UNIX for Dummies Questions & Answers

Unable to deactivate a Volume Group

We want to deactivate a VG but failed, because one of the LVs created there is busy. When we are trying to unmount the LV, it is telling "not mounted" and if I execute mount command it will be informing us "already mounted". dmsetup info is indicating "Open Count = 1". Please help me, how we... (5 Replies)
Discussion started by: atanubanerji
5 Replies

6. HP-UX

Unable To Extend the Size of a Logical Volume File System

Background: # uname -a HP-UX deedee B.11.23 U ia64 4294967295 unlimited-user license deedee.rsn.hp.com:/ # bdf /opt Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol6 6553600 6394216 158144 98% /opt /opt is almost full... (3 Replies)
Discussion started by: Rob Sandifer
3 Replies

7. Solaris

crontab /usr/sbin/rtc log rc=1

I noticed in my cron log file for my solaris 8 servers the rc=1. I imagine that is return code and something did not process. Does anyone know what that is, is there fix or the implications of leaving it? Thank you > CMD: && /usr/sbin/rtc -c > /dev/null 2>&1 > root 22049 c Fri Dec 19... (1 Reply)
Discussion started by: csgonan
1 Replies

8. HP-UX

syslog: /usr/sbin/envd[1075]:

hi friends, what is the meaning of this error ? syslog: /usr/sbin/envd: (2 Replies)
Discussion started by: cromohawk
2 Replies

9. Solaris

WARNING - /usr/sbin/fsck not found - Please help

WARNING - /usr/sbin/fsck not found. Most likely the mount of /usr failed or the /usr filesystem is badly damaged. The system is being halted. Either re-install the system of boot with -b option in an attempt to recover Anyone help me on restoring this without having to reinstall. it is a... (8 Replies)
Discussion started by: frustrated1
8 Replies

10. UNIX for Dummies Questions & Answers

/usr/sbin/getty

How can i restart the console getty without rebooting the system on HPUX 11.0 Normally it will be stated by ps -ef | grep getty console 0:00 /usr/sbin/getty console console many thanx (4 Replies)
Discussion started by: iceman_denmark
4 Replies
Login or Register to Ask a Question