cancel
Showing results for 
Search instead for 
Did you mean: 

Vg00 construction.

fizan
Super Advisor

Vg00 construction.

VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 13
Open LV 13
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4355
VGDA 2
PE Size (Mbytes) 32
Total PE 4346
Alloc PE 4320
Free PE 26
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 2229760m
VG Max Extents 69680

1, advice me how to increse the VG max size,
VG max extents, by default how much the value will be

2. i want to create 12 logical volumes in the vg00, advice with steps experts.
20 REPLIES
Pete Randall
Outstanding Contributor

Re: Vg00 construction.

1. Increase either max_pe or pe_size (see man vgcreate). Of course this needs to be done at creation time.

2. lvcreate is the command, simply change the lvol name and specify an appropriate size.


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: Vg00 construction.

Hi:

> i want to create 12 logical volumes in the vg00, advice with steps experts.

My advice is do _NOT_ do this. If you keep vg00 confined to the standard logical volumes your abilities to clone and/or recover vg00 are greatly enhanced. Disk is cheap and a clean segregation of operating system and application data is very desirable.

Regards!

...JRF...
SoorajCleris
Honored Contributor

Re: Vg00 construction.

Hi Pete,

"Increase either max_pe or pe_size (see man vgcreate).

"Of course this needs to be done at creation time"

I think it can be changed later also using vgmodify comamnd ( 11.23 and 31)

http://docs.hp.com/en/B2355-60130/vgmodify.1M.html

I dont know if I am wrong.

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
SoorajCleris
Honored Contributor

Re: Vg00 construction.

Hi Fizan,

If you want to create new logical volumes,
avoid creating it in vg00. I would suggest you to create a new VG.

Always recommeneded.

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
Torsten.
Acclaimed Contributor

Re: Vg00 construction.

This is a version 1.0 VG with hp-ux 11.31.

VG Max Size = VG Max Extents * PE Size

VG Max Extents = Max PE per PV * Max PV


The PE size is set during creation, but Max PE per PV can be adjusted with vgmodify.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
fizan
Super Advisor

Re: Vg00 construction.

VG Max Size 2229760m
VG Max Extents 69680

how to increase this both parameters, wherther it will automatically increase or we need to specify with vgcreate commnd?
Torsten.
Acclaimed Contributor

Re: Vg00 construction.

see above!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
SoorajCleris
Honored Contributor

Re: Vg00 construction.

Hi Fizan,

Can you please confirm, do you want to change an existing VG ? or are you going to create a new VG?

I recommend you to create a new VG and give the parameters accordingly if required.

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
fizan
Super Advisor

Re: Vg00 construction.

i am going to create A DR site same as production so i cannot modify any ting wat evre there in productn needs to be synced with DR, so whether i can give

vgcreate -s 32 -e 4355
by this i can modify the PE size and MAX PE PER PV, but vgmaxsize and vg max extents donno?

Torsten.
Acclaimed Contributor

Re: Vg00 construction.

I doubt if you use a "vgcreate" to create vg00, right?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
James R. Ferguson
Acclaimed Contributor

Re: Vg00 construction.

Hi:

> i am going to create A DR site same as production

I suggest you read my comments in your other thread since that one, together with this one, seem to be related:

http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1390881

Regards!

...JRF...
fizan
Super Advisor

Re: Vg00 construction.

As tortesen mentioned, it will automatically reflect as per the formula?

VG Max Size = VG Max Extents * PE Size

VG Max Extents = Max PE per PV * Max PV


so we no need to create or modify any ting right tortsen?
fizan
Super Advisor

Re: Vg00 construction.

oh sorry vg00 it will be automatically created on installation , right so how to modify the max pe per pv and default pe size?
no idea..
fizan
Super Advisor

Re: Vg00 construction.

tortsen ya but doing a ignite restore is not the correct method so manually going to do from the scratch.
Patrick Wallek
Honored Contributor

Re: Vg00 construction.

>>so how to modify the max pe per pv and default pe size?

That can be done during installation. I don't remember which installation screen it is, but I know it is there.
Torsten.
Acclaimed Contributor

Re: Vg00 construction.

Is this question somehow related to

http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1390881 ?

If the servers are similar, take the backup and restore it.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
fizan
Super Advisor

Re: Vg00 construction.

so while starting fresh installation of os itself it build the vg00 so at that time itself we can set the max pe per pv and default pe size ah?
Torsten.
Acclaimed Contributor

Re: Vg00 construction.

So what exactly are your requirements?

You want to built the DR site - so the exact VG settings for VG00 doesn't really matter, as long as all the data fit into that system right?

I would check if an ignite clone will be the best solution for this (or even a DRD clone?).

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
fizan
Super Advisor

Re: Vg00 construction.

apart from vg00 for eg lets consider the vg01
vgcreate -s 32 -e 4355 /dev/vg01 /dev/dsk/..
now it will work out right?
Torsten.
Acclaimed Contributor

Re: Vg00 construction.

If you create a VG with the PE size only (no maximum number), the system adjust this value for the largest disk in this VG automagically.

If you plan to add larger disks later, you should set the max pe per PV high enough during creation.

With 11.23 and 11.31 you can do this adjustment also later, with 11.11 this is fixed "for all times".

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!