add a hdiskpower in a vg


 
Thread Tools Search this Thread
Operating Systems AIX add a hdiskpower in a vg
# 1  
Old 03-02-2006
add a hdiskpower in a vg

good morning

I want to add a new emc disk in a vg (it is not a big volume group)
but when i do it, i have the message:

0516-1162 /usr/sbin/extendvg: Warning, The Physical Partition Size of 64 requires the creation of 3200 partitions for hdiskpower48. The limitation for volume vg01 is 3048 physical partitions per physical volume. Use chvg command with -t option to attempt to change the maximum Physical Partitions per Physical volume for this volume group.
0516-792 /usr/sbin/extendvg: Unable to extend volume group.
Set Characteristics of a Volume Group


if i try to change the volume group to a big or a scalable, it is refused.
i think too that it is not chvg -t but chvg -P to attempt to change the maximum Physical Partitions per Physical volume. But chvg -t or -P are too refused Smilie

thank you for your help

Last edited by pascalbout; 03-02-2006 at 06:38 AM..
# 2  
Old 03-02-2006
what kind of error messages are you getting with the chvg command?

the VG is varied off when you try, right?
# 3  
Old 03-02-2006
try

Code:
chvg -t 3

This will change the number of PP/PV by a factor of 3.

See the following.
http://publibn.boulder.ibm.com/doc_l...cmds1/chvg.htm
# 4  
Old 03-03-2006
thank you
when i do a chvg -t 3, it says to me that the vg is not scale
if i try to do scale, it says that the vg must be varyoff.....and of course, i can't do a varyoff, it's an important server in production.... !!!
# 5  
Old 03-03-2006
Quote:
Originally Posted by pascalbout
thank you
when i do a chvg -t 3, it says to me that the vg is not scale
if i try to do scale, it says that the vg must be varyoff.....and of course, i can't do a varyoff, it's an important server in production.... !!!
did you try chvg -t 4?
# 6  
Old 03-15-2006
The LVM imposes several limits, all of which have to be considered. On a PV level the most important ones are:

not more than 1016 PPs per PV
not more than 32 PVs per VG

You can change that behaviour by converting a VG to "big", which means halving (quartering, ...) the number of possible PVs per VG whilst increasing the number of PPs per PV accordingly. This usually doesn't make sense for a VG factor beyond 2.

Better in this case is to back up and recreate the VG with more sensible values. It makes sense in most cases to set the PP size to 128MB or even 256 MB, which allows for single PVs as big as 130 (260) GB. It may be more effort *once* to do this but in the long run it pays off not to have to twiddle with the different factors in the VG - too many restraints to be obeyed in the long run.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to add add some files together and then paste

How can you efficiently add pairs of files together and then paste those pairs, I have a climate computer at work which spits out temperatures and stuff out twice a day, one for the day-data and one for the night (basically). Every week I want to make a nice overview The text files are... (1 Reply)
Discussion started by: uwgandalf
1 Replies

2. AIX

deletion of hdiskpower* and child devices

Hi, I need to know is there any option in rmdev command that deletes only hdiskpower and its child devices..suppose i have 4*hba's i could see 4*hdisks and 1*hdiskpower. i want to delete only the hdiskpower and its associted 4*hdisks..how can i do that.. (1 Reply)
Discussion started by: to_bsr
1 Replies
Login or Register to Ask a Question