Operating System - HP-UX
1834673 Members
2551 Online
110069 Solutions
New Discussion

Maximum Volume Group Size in HP-UX

 
SOLVED
Go to solution
apple
Super Advisor

Maximum Volume Group Size in HP-UX

Dear HP-UX Gurus,
I'm using HP UX 11.23. What is the maximum size of a volume group? Can I create a volume group of 100GB size? Hope to hear from you soon. Thank you
13 REPLIES 13
whiteknight
Honored Contributor

Re: Maximum Volume Group Size in HP-UX

Finas,

Check this out!
http://docs.hp.com/en/6054/Limits_wp.pdf


WK
Problem never ends, you must know how to fix it
Anshumali
Esteemed Contributor
Solution

Re: Maximum Volume Group Size in HP-UX

And these threads as well:


http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1043904
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1054244

Max PE per PV*PE Size (Mbytes) is your size in Mb which you can utilize from one disk.

Anshu

Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
Aneesh Mohan
Honored Contributor

Re: Maximum Volume Group Size in HP-UX

Hi Finas,


That depends "Max PE per PV" and "PE Size" of your volume group ,for an existing volume group you can change this values by using vgmodify command



fyi:-

vgmodify will work only in 11.23 and 11.31 ,
for 11.23 you may need to install the patches PHCO_35524 and PHKL_36244.
for 11.31 vgmodify will come default

Thanks,
Aneesh
apple
Super Advisor

Re: Maximum Volume Group Size in HP-UX

Dear HP-UX Gurus,
Thank you for your reply.
If I understand you correctly, Could you please verify my understanding
1. I create the vdisk in HP EVA8K of 100GB and present to HP-UX 11.23i
2. I issue this command in HP-UX
# mkdir /dev/vg33
# mknod /dev/vg33/group c 64 0x021000
# pvcreate /dev/rdsk/c10t0d1
# vgcreate -e 65535 -s 16 /dev/vg10 /dev/dsk/c10t0d1 /dev/dsk/c12t0d1 /dev/dsk/c16t0d1 /dev/dsk/c17t0d1
#vgdisplay -v vg33

Hope to hear from you.
apple
Super Advisor

Re: Maximum Volume Group Size in HP-UX

Forgotten few lines
2. I issue this command in HP-UX
# ioscan -funC disc
# autopath discover
# autopath display
# autopath set_lbpolicy RR /dev/dsk/c10t0d1
# mkdir /dev/vg33
# mknod /dev/vg33/group c 64 0x021000
# pvcreate /dev/rdsk/c10t0d1
# vgcreate -e 65535 -s 16 /dev/vg10 /dev/dsk/c10t0d1 /dev/dsk/c12t0d1 /dev/dsk/c16t0d1 /dev/dsk/c17t0d1
#vgdisplay -v vg33

Hope to hear from you.
apple
Super Advisor

Re: Maximum Volume Group Size in HP-UX

flamingo:/>mkdir /dev/vg33
flamingo:/>mknod /dev/vg33/group c 64 0x02100
flamingo:/>pvcreate /dev/rdsk/c16t3d4
Physical volume "/dev/rdsk/c16t3d4" has been successfully created.
flamingo:/>4 /dev/dsk/c20t3d4 /dev/dsk/c22t3d4
why I hit this error???? invalid minor number??? <
vgcreate: LVM group file has an invalid minor number. Use the format: 0xNN0000.
Robert-Jan Goossens
Honored Contributor

Re: Maximum Volume Group Size in HP-UX

could you post

# ll /dev/*/group
Anshumali
Esteemed Contributor

Re: Maximum Volume Group Size in HP-UX

0x021000 ==> 0x210000
check it with
ll /dev/*/group |sort -k 6
so that u don't fiddle with existing group file's minor number.

anshu
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
apple
Super Advisor

Re: Maximum Volume Group Size in HP-UX

my minor was wrong. how can i recreate back?
Vijay Dsouza
Frequent Advisor

Re: Maximum Volume Group Size in HP-UX

Hi Finas,
Your minor number specification is incomplete

mknod /dev/vg01/group c 64 0xZZ0000
Where:
Key Operation
c
Specifies this is a character device file.
64
Will always be the group device file major number.
0x
Indicates what follows is a hex number
ZZ
Hexadecimal minor number, unique across all volume groups.

I can see you typing the minor number in a fashion of 7 values only where the total value is 8 digits.

Chech it out again

Vijay
Vijay Dsouza
Frequent Advisor

Re: Maximum Volume Group Size in HP-UX

if your minor number was wrong simply get in to /dev/vgXX/ directory and delete the value you created. and then recreate again :).

Vijay
apple
Super Advisor

Re: Maximum Volume Group Size in HP-UX

I can't help to give you good points. :) thank you.
should you have any information for a newbie like me, please email. Thank you. Nite
Finas-
Hein van den Heuvel
Honored Contributor

Re: Maximum Volume Group Size in HP-UX

>> should you have any information for a newbie like me, please email.

Just keep on reading here, and the HP whitepapers!
And be sure to read some articles outside your comfort zone, to start building a wider range of understanding.

>> please email.

Besides that not being too practical, please realize that even though you provided an Email address when signing up to the HP ITRC forum, this address is NOT visible anyone except a few moderators for this forum (HP Employees).
If you, or any other reader, really likes an Email for the rigth occasional, be sure to clearly include a slightly encrypted Email address in the topic itself, or code it up in your profile "personal quote" or "Certification" field.

Regards,
Hein van den Heuvel ( at gmail dot com ;-)