extendvg and rootvg


 
Thread Tools Search this Thread
Operating Systems AIX extendvg and rootvg
# 1  
Old 04-17-2009
extendvg and rootvg

When attempting to extend rootvg to a new physical disk I received the following message:
Code:
0516-1162 extendvg: Warning, The Physical Partition Size of 64 requires the
        creation of 1093 partitions for hdisk5.  The limitation for volume group

        rootvg is 1016 physical partitions per physical volume.  Use chvg comman
d
        with -t option to attempt to change the maximum Physical Partitions per
        Physical volume for this volume group.
0516-792 extendvg: Unable to extend volume group.

Can I change the allowed maximum phsical partitions while the system is running or do I have to perform a mksysb and make a change? What would be the steps to perform this. Thank you.
# 2  
Old 04-17-2009
Quote:
Originally Posted by jyoung
Can I change the allowed maximum phsical partitions while the system is running or do I have to perform a mksysb and make a change? What would be the steps to perform this. Thank you.
Short answer: yes, you can, but you should not.

You can double and even quadruple the number of physical partitions per physical volume, but only at the expense of halving (quartering) the number of physical volumes in the volume group. Normally a VG can hold up to 32 PVs with 1016 PPs each. You can introduce a so-called "factor" (of 2 or 4), which multiplies the PPs per PV but divides the number of PVs in the VG at the same time. The maximum storage capacity of the VG remains constant therefore. (See the man page for "chvg" for details about this factor.)

If you are starting to add disks (PVs) to the VG which have more PVs than allowed this is an indicator that you have chosen a bad value for the PP size compared to the storage demands of the VG. Probably the VG has been created long ago and the demands have outgrown the VGs capacity.

This is why you better back up the VG, recreate it with a more sensible PP size and then restore from the backup. You have a great opportunity to reorganise your storage layout and still stay flexible in every direction. In my experience introducing these VG factors is usually a last-ditch effort to avoid such a reorganisation and in the long run that causes more problems than are solved by it. Do yourself a favour and reorganise your storage now, when you *can* instead of some day very near in the future when you *must* do it.

I hope this helps.

bakunin
# 3  
Old 04-18-2009
Hi bakunin,
Yes your post does help. I will have to do some more research on how to back it up and recreate with a different PP size. I do have a file system on it that is large, but only 5 percent of it is being used. I would like to shrink it though Being that it is AIX5.2 and the volume group is rootvg I will proceed with caution. Perhaps talking to IBM support would be a good first step. Thank you.
# 4  
Old 04-18-2009
hmmm except you have really loads of memory on your box, and therefor a large virtual memory area (what I don't really believe), a 36 GB disk should be more than sufficient for rootvg - except you have a lot of application data in the same vg.
If that is the case, I would suggest you rather create a new VG with bigger pp size on the new disk and a few new filesystems and than just copy/paste the data to these new filesystems. Since you're able to change afterwards even mountpoints, you can keep the filesystem structure you already have.
Keeping a system clean might be the better solution than what you're going to do.
You can than drop the no longer needed filesystems from rootvg and can use the space to extend filesystems, if required.
Kind regards
Nicki
# 5  
Old 04-21-2009
Change the "factor" with -t option within chvg.

Find the informations of supporting PPs in AIX with any version.

read it first.
extendvg and rootvg-factorpng
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Reducing / on rootvg

The root filesystem was mirrored, someone/something stopped mirroring, and increased / and /home to ridiculous values (/ got increased to 102gb and its only using 4.3gb, so 98gb is free). Can I reduce the / (/dev/hd4) filesytem down WITHOUT corrupting the the OS? I would do a: chfs -a size=10g... (6 Replies)
Discussion started by: mrmurdock
6 Replies

2. AIX

Convert rootvg to scalable

hello everyone, I have an AIX6.1 machine and i want to convert the rootvg to scalable format because i need to increase the size of specific file systems and i cannot do it with its current state. I know that in order to perform this operation the volume group must be varied off so is there a way... (5 Replies)
Discussion started by: omonoiatis9
5 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. AIX

rootvg mirrored

I want to increase the size of /tmp by 1GB I know that the command is chfs -a size=+1G /tmp But the rootvg is mirrored and when I do a lsvg -p rootvg, I could see 2 disks. Will there be any impact if I increase the size of /tmp when the rootvg is mirrored ? Please advise. (1 Reply)
Discussion started by: newtoaixos
1 Replies

5. UNIX for Advanced & Expert Users

extendvg error....

root:/home/root # extendvg rootvg hdisk50 0516-1339 extendvg: Physical volume contains some 3rd party volume group. 0516-1397 extendvg: The physical volume hdisk50, will not be added to the volume group. 0516-792 extendvg: Unable to extend volume group. root:/home/root # extendvg -f rootvg... (7 Replies)
Discussion started by: prpkrk
7 Replies

6. AIX

mirroring rootvg

I would like to konw wheather below steps are sufficient for mirroring rootvg. extendvg rootvg hdisk1 mirrorvg rootvg bootlist -m normal hdisk0 hdisk1 bosboot -ad hdisk0 bosboot -ad hdisk1 or anything needs to be added. (7 Replies)
Discussion started by: manoj.solaris
7 Replies

7. AIX

rootvg mirroring query

Hi, I am having query regarding rootvg mirroring, How to find out that rootvg is mirrored? Regards Manoj (4 Replies)
Discussion started by: manoj.solaris
4 Replies

8. AIX

Anyone know how to access rootvg?

I'm trying to troubleshoot an issue with an AIX system here. I have no experience with system administration of IBM stuff. Our local admin is ... um ... not available at this time. I found something online that said enter service mode - How the heck do I do that??? Why is IBM stuff lack proper... (2 Replies)
Discussion started by: bbbngowc
2 Replies

9. AIX

mirror rootvg

Hello I have a question I have a box with Aix 5.3 with rootvg on mirror. I deleted a filesystem and I create a new one to install some software but when I type lsvg -l rootvg all my filesystems has mirror unless the new one. My question is I can mirror this fs only ??? or I have to... (9 Replies)
Discussion started by: lo-lp-kl
9 Replies

10. AIX

Cloned Rootvg

New Question: The purpose of an alternate disk install is in my opinion to have a ready-to-use-backup and i've read that it is possible to install filesets or software on the cloned disk for testing purposal while the normal system is still running. The question is: how do you tell AIX (5.2... (5 Replies)
Discussion started by: kvanelshocht
5 Replies
Login or Register to Ask a Question