Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding physical volume into Volume group

Status
Not open for further replies.

shoux

Technical User
Nov 9, 2000
83
MY
Dear friend

I'm using RISC/6000 machine run on AIX 4.3
Recently I have added 2 hardisk. Each of them have size 8GB.
I hit an error while adding the hardisk into volume group.
I'm using SMIT menu to added it --> smit vg > set charac >add a physical volume

below is the error massages :-

516-1162 extendvg: Warning, The Physical Partition Size of 8 requires the creation of 1086 partitions for hdisk9. The limitation for volume group datavg is 1016 physical partitions per physical volume. Use chvg commandwith -t option to attempt to change the maximum Physical Partitions per Physical volume for this volume

I have tried use chvg -t command but it then other related error appeared :-

0516-792 extendvg: Unable to extend volume group.

Below is the hardisk that has been added into my machine.

# lspv
hdisk9 000b34dde9566791 None
hdisk10 000b34dde956855e None


Thanks for your help.
Shoux

 
Shoux,

If you are adding the drives into a volume group that already exsists and the drives in that volume group are set to 8Mb partitions, you won't be able to add them to the group. Drives that are that big have to have the partition size set to at least 16Mb. The partition size is set for the entire volume group so that's why you can't add them. If you're creating a new volume group with these 2 new drives then you can set them to 16Mb and everything should be fine.

Hope this helps!

Eric
 
chvg -t 2 datavg is how you do this command

Now you have to unmount the volume group first
then run the command.

after that you should be able to add this disk to the volume group.

good luck and let me know if this help you out.
 

Thanks both of you

Eric is correct, I can't added the new hardisk into the current Vg due to the partition is diff. So, what I do is to create new vg with the partition 16MB and it works.

The same error is occured when I issued the chvg -t 2 datavg.

Anyway, Thanks for your help.

shoux
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top