1751917 Members
5110 Online
108783 Solutions
New Discussion юеВ

Re: vg00 construction.

 
SOLVED
Go to solution
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

--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 64
Allocated PE 64
Used PV 1

LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 24576
Current LE 768
Allocated PE 768
Used PV 1

LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 64
Allocated PE 64
Used PV 1

LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 64
Allocated PE 64
Used PV 1

LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 10240
Current LE 320
Allocated PE 320
Used PV 1

LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 10240
Current LE 320
Allocated PE 320
Used PV 1

LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 6144
Current LE 192
Allocated PE 192
Used PV 1

LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 10240
Current LE 320
Allocated PE 320
Used PV 1

LV Name /dev/vg00/lvol9
LV Status available/syncd
LV Size (Mbytes) 12288
Current LE 384
Allocated PE 384
Used PV 1

LV Name /dev/vg00/lvol10
LV Status available/syncd
LV Size (Mbytes) 25600
Current LE 800
Allocated PE 800
Used PV 1

LV Name /dev/vg00/lvol11
LV Status available/syncd
LV Size (Mbytes) 10240
Current LE 320
Allocated PE 320
Used PV 1

LV Name /dev/vg00/lvol12
LV Status available/syncd
LV Size (Mbytes) 10240
Current LE 320
Allocated PE 320
Used PV 1

LV Name /dev/vg00/lvol13
LV Status available/syncd
LV Size (Mbytes) 12288
Current LE 384
Allocated PE 384
Used PV 1


--- Physical volumes ---
PV Name /dev/disk/disk0_p2
PV Status available
Total PE 4346
Free PE 26
Autoswitch On
Proactive Polling On

2)I want to create a vg00 like this i am dowted how 13 lvols can be accomadted in vg00, experts plz clarify me and also for vg level tunning is require like ..

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

2)VG Max size, VG Max Extents,Max PE per PV, Max Lv so how to build this vg00.

3)--- Physical volumes ---
PV Name /dev/disk/disk0_p2
PV Status available
Total PE 4346
Free PE 26
Autoswitch On
Proactive Polling On
how to name the physical disk as /disk0_p2

Thanks.
5 REPLIES 5
Viktor Balogh
Honored Contributor

Re: vg00 construction.

Hi Fizan,

man vgcreate is the answer ;)
here is are the steps to create a VG with the same parameters:

# mkdir /dev/VGNAME
# mknod /dev/VGNAME/group c 64 0xFREE_MINOR
# vgcreate -e 4355 -l 255 -p 16 -s 32 VGNAME DEVICES

where:
VGNAME is the name of your VG
FREE_MINOR is a free minor number for major 64 -> do an 'll /dev/*/group | sort -k6' and choose a free minor number for your new VG
DEVICES -> here you should provide all the devices that were pvcreate'd before. keep in mind that a new disk must be initialized with pvcreate to for use with LVM


****
Unix operates with beer.
Pete Randall
Outstanding Contributor

Re: vg00 construction.

sujit kumar singh
Honored Contributor
Solution

Re: vg00 construction.

Hi

root VG construction/reconstruction.

root VG vg00 is constructed at the time of a new-install,

the parameter that is -s thatis PE_Size once set cannot be changed without destroying and rcreatting that VG.

Other parameters that is MAx_PE_per_PV that is -p , MAX_LV that is -l, MAX_PV that is -p can be changed using the vgmodify command if that is 11.23 and vgmodify patches are there but that needs teh VG to be deactivated and in case you are having these and wish to perfoem on Root VG , you need to be in LVMMintennanace Mode that is -lm option of boot vmunix on IA or hpux -lm on PARISC.

also the lvol1. lvol2 and lvol3 are contiguous so those cannot be extended like other LVs that is using lvextend, so preferred Way as well as Reliable is IGnite backup and restore where at the ignite install you can reconfigure ypur root VG then extend miroorrs.

regards
fizan
Super Advisor

Re: vg00 construction.

thanks surjit and all, for your knowledge base.
thanks for your help!!
Torsten.
Acclaimed Contributor

Re: vg00 construction.

.




Why creating duplicated threads???





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

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!