Unable to extend volume group(VG)


 
Thread Tools Search this Thread
Operating Systems AIX Unable to extend volume group(VG)
# 1  
Old 02-03-2014
Wrench 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.
Code:
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 extendvg: Unable to extend volume group.

• The details are as below

Code:
#lsvg
rootvg
oravg

Code:
#lsvg oravg
VOLUME GROUP:       oravg                    VG IDENTIFIER:  00f76b1400004c000000013825c12284
VG STATE:           active                   PP SIZE:        128 megabyte(s)
VG PERMISSION:      read/write               TOTAL PPs:      1439 (184192 megabytes)
MAX LVs:            256                      FREE PPs:       1 (128 megabytes)
LVs:                2                        USED PPs:       1438 (184064 megabytes)
OPEN LVs:           2                        QUORUM:         2 (Enabled)
TOTAL PVs:          1                        VG DESCRIPTORS: 2
STALE PVs:          0                        STALE PPs:      0
ACTIVE PVs:         1                        AUTO ON:        yes
MAX PPs per VG:     32512
MAX PPs per PV:     2032                     MAX PVs:        16
LTG size (Dynamic): 256 kilobyte(s)          AUTO SYNC:      no
HOT SPARE:          no                       BB POLICY:      non-relocatable
PV RESTRICTION:     none                     INFINITE RETRY: no

Code:
#lspv
hdisk0          00f76b14f6227370                    rootvg          active
hdisk1          00f76b14159e4a06                    rootvg          active
hdisk2          00f76b1425c12078                    oravg           active

• After increasing the lun in the storage

Run the #cfgmgr

• Unable to extend the VG
Code:
#extendvg oravg 20 hdisk2
0516-306 extendvg: Unable to find physical volume 20 in the Device
        Configuration Database.
0516-792 extendvg: Unable to extend volume group.


Thanks in advance

Thanks
Murali

Last edited by Scott; 02-03-2014 at 11:27 AM.. Reason: Fixed code tags
# 2  
Old 02-03-2014
Your command
Code:
#extendvg oravg 20 hdisk2

Why the 20?
I would think
Code:
#extendvg oravg hdisk2

since you are adding a physical volume to the volume group
# 3  
Old 02-03-2014
Still i got the below error

Code:

#extendvg oravg hdisk2
0516-1398 extendvg: The physical volume hdisk2, appears to belong to
another volume group. Use the force option to add this physical volume
to a volume group.
0516-792 extendvg: Unable to extend volume group.

# 4  
Old 02-03-2014
Your lspv command seems to show that hdisk2 belongs to oravg.
Right?
# 5  
Old 02-03-2014
Yes
Code:
2# lspv
hdisk0          00f76b14f6227370                    rootvg          active
hdisk1          00f76b14159e4a06                    rootvg          active
hdisk2          00f76b1425c12078                    oravg           active

# 6  
Old 02-03-2014
extendvg is for adding ( extend...) a new PV to a vg, which is not your case... I have not enough knowledge of AIX with lpar vio etc.. to tell you what command you will have to use, but the system if you did nothing knows nothing about the new size of the PV, that cfgmgr will perhaps notice the change, but I am sure there are some specific commands for LUNS... then you may have to change some VG attributes (smitty LVM...)...
# 7  
Old 02-03-2014
So, you are attempting to add a PV that is already attached to a different VG. Hence this new (and correct) error.

I am not sure if AIX allows for a PV to be split and assigned to two different VG. However, to go this route, I would think the PV would need to be detached from its existing VG - and that could result in lost data on that volume.
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