Unable to extend volume group(VG)

Thread Tools Search this Thread
Operating Systems AIX Unable to extend volume group(VG)
# 8  
Old 02-03-2014
Hi Joe, I understand the LUN size was changed, so the device has to be scanned again to report the change and after perhaps there will be some chvg with fancy options.. but since we know nothing about the disks subsystem...
# 9  
Old 02-03-2014
If that is the case, you are correct VBE and the OP should use chvg -g to have the new size be recognized.
And Joey you are correct too - a PV can only belong to one VG.

When you have run chvg -g and you see that the VG size is increased (check Total or Free PPs), you can do a chfs -a size=+20G /yourfilesystem if you want to extend a specific filesystem.

Last edited by zaxxon; 02-03-2014 at 12:04 PM..
This User Gave Thanks to zaxxon For This Post:
# 10  
Old 02-03-2014
are you making the disk larger from the SAN and then looking to see the disk change in AIX? or are you assigning a new disk to AIX and then extending the VG?

will work if you are combining two disk into one vg. Based on your outputs I did not see any new PV's.

if you are adding a new disk to the system you would then use:

extendvg oravg <New_PV>

I'm not to sure where the "20" came from.


extendvg oravg hdisk3

if you added the space directly to the PV and you are not seeing the change (not recommended) and you are not seeing this try the following:

unmount all filesystems
varyoffvg oravg 
rmdev <hdisk> 
and then run cfgmgr
mount back filesystems

if it still fails you might want to check with the san team to ensure they added the LUN correctly with the correct WWPN

if you are not assigning it directly to that storage and you are actually assigning it to a new PV and you are just not seeing it, can you run this command and send the output:

lsdev -Cc disk

# 11  
Old 02-04-2014
His cfgmgr output doesn't list a new PV so it seems he is trying to enlarge an existing PV/LUN which has been added some space on the SAN side.
I bet the 20 is GB, since there is no hdisk20 listed and hdisk2 is already part of a VG.
The OP has misinterpret the function of extendvg.

@Murali: It would be nice, if you enlighten us if we are on the right track and if you got along with your problem or not.
# 12  
Old 02-05-2014
Yes,the above is correct

---------- Post updated at 08:13 AM ---------- Previous update was at 08:09 AM ----------

I would like to add number of PPS to ORAVG volume

bash-3.2# chvg -g oravg
0516-1382 chvg: Volume group is not changed. None of the disks in the
        volume group have grown in size.
0516-732 chvg: Unable to change volume group oravg.

bash-3.2# extendvg -f oravg hdisk2
0516-029 extendvg: The Physical Volume is a member of a currently
        varied on Volume Group and this cannot be overidden.
0516-1397 extendvg: The physical volume hdisk2, will not be added to
the volume group.
0516-792 extendvg: Unable to extend volume group.

bash-3.2# lsvg -p oravg
hdisk2            active            1687        169         00..00..00..00..169

# 13  
Old 02-05-2014
Thats is because the system doest not know things have changed... run cfgmgr and see after if your PV is of same size... and its not an extendvg you need but chvg -g but this will work ONLY once the system has seen the change!
# 14  
Old 02-05-2014
+1 to what vbe said.

when using extendvg you are saying you want to combine 2 or more hdisk into one vg. this is not to actually increase the size of the vg. ok so according to your first post you did try

and you did not see the change.

using extendvg would be used if you had assinged a new disk and then wanted to combine that disk to oravg.
usage would be:
extendvg oravg hdisk3 (or whatever the new disk number is)

This is not your case.

do try this:
unmount all filesystems within the oravg
(use lsvg -l oravg) 
varyoffvg oravg
lspv - make sure the vg is not in active state
run cfgmgr
lspv - see if the vg came back online
if it didn't use varyonvg oravg and lspv again to ensure the vg is active
lsvg oravg
confirm the vg has the disk change.

if you are not seeing the disk changes make sure the disk changes are made correctly.
how are you assigning the disk changes? are you using SAN or assigned to the vio, NPIV?
send the output of:

lsdev -Cc disk |grep hdisk2

highly suggest reviewing the man pages before using these commands:

chvg -g and cfgmgr

are not seeing the change I'm going to strongly suggest to review how the storage was added.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Cannot extend logical volume

Dear All, We have an Oracle running on AIX 6.1, now there have an disk spaces issue and we found that we cannot perform to extend the logical volume. Could help to review and make some suggestions. Status: we already provisioned some disks to the host, new disks can be scan and add into the... (11 Replies)
Discussion started by: lckdanny
11 Replies

2. Red Hat

No space in volume group. How to create a file system using existing logical volume

Hello Guys, I want to create a file system dedicated for an application installation. But there is no space in volume group to create a new logical volume. There is enough space in other logical volume which is being mounted on /var. I know we can use that logical volume and create a virtual... (2 Replies)
Discussion started by: vamshigvk475
2 Replies

3. AIX

/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... (6 Replies)
Discussion started by: williamen
6 Replies

4. 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

5. UNIX for Dummies Questions & Answers

Confusion Regarding Physical Volume,Volume Group,Logical Volume,Physical partition

Hi, I am new to unix. I am working on Red Hat Linux and side by side on AIX also. After reading the concepts of Storage, I am now really confused regarding the terminologies 1)Physical Volume 2)Volume Group 3)Logical Volume 4)Physical Partition Please help me to understand these concepts. (6 Replies)
Discussion started by: kashifsd17
6 Replies

6. 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

7. 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

8. 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

9. AIX

Help - can't extend logical volume ?

Hi, Smit "Increase the Size of a Logical Volume" command failed. Output: ---------------------------------------------------------- Command: failed stdout: yes stderr: no Before command completion, additional instructions may appear below. The distribution of this command (111) failed on... (2 Replies)
Discussion started by: vilius
2 Replies

10. AIX

Extend one Logical Volume

Hi All, I am new to AIX. I need to extend one Logical Volume it is jfs type on On AIX 5.1. I have enough free space on the volume group for this extension Can I use smitty chjfs , will this do it without interruptions to the application that is using this Logical Volume. Thanks Scampi (1 Reply)
Discussion started by: scampi
1 Replies
Login or Register to Ask a Question