Operating System - HP-UX
1833760 Members
2177 Online
110063 Solutions
New Discussion

Missing 40Gbyte free space on vg00 .

 
SOLVED
Go to solution
Chapaya
Frequent Advisor

Missing 40Gbyte free space on vg00 .

Hello ,
I upload ignite on disk of 70Gbyte .
The system is 16Gbye , and i see just 13.6Gbyte free , i expected to have more space !!!
vgdisplay :
test.root:/# vgdisplay vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4384
VGDA 2
PE Size (Mbytes) 16
Total PE 4374
Alloc PE 976
Free PE 3398
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

bdf :
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1540096 209976 1319760 14% /
/dev/vg00/lvol1 298928 39560 229472 15% /stand
/dev/vg00/lvol8 2621440 1213432 1397880 46% /var
/dev/vg00/lvol7 2097152 1014000 1074736 49% /usr
/dev/vg00/lvol6 2097152 349448 1734248 17% /tmp
/dev/vg00/lvol5 2097152 1016160 1072568 49% /opt
/dev/vg00/lvol4 1081344 9687 1004684 1% /home

Bye,
Eran.
9 REPLIES 9
Chapaya
Frequent Advisor

Re: Missing 40Gbyte free space on vg00 .


here is diskinfo :

test.root:/# diskinfo /dev/rdsk/c1t2d0
SCSI describe of /dev/rdsk/c1t2d0:
vendor: SEAGATE
product id: ST373307LC
type: direct access
size: 71687372 Kbytes
bytes per sector: 512
Bernhard Mueller
Honored Contributor
Solution

Re: Missing 40Gbyte free space on vg00 .

Eran,

your PE size is 16MB, 16*3398 is some 50GB.

Regards,
Bernhard
Robert-Jan Goossens
Honored Contributor

Re: Missing 40Gbyte free space on vg00 .

Hi Eran,

You still have

Free PE 3398 X 16mb = 54368 mb free on your disk

Hope this helps,
Robert-Jan
Hoefnix
Honored Contributor

Re: Missing 40Gbyte free space on vg00 .

What previous posts mean is that you still have the extra space but it's not assigned to the logicalvolumes in vg00 yet.

You still have 50GB free diskspace left in vg00 to assign.
(use lvextend and fsadm)

Regards,
Peter
Chapaya
Frequent Advisor

Re: Missing 40Gbyte free space on vg00 .

Hello ,

You're right !!!!
I used to know that PE=4M so why here the PE=16M ?

Thanks All,
Eran.
Bernhard Mueller
Honored Contributor

Re: Missing 40Gbyte free space on vg00 .

Eran,

Ignite is quite smart, it bumps up PE size by itself to match the discovered HW.

Regards,
Bernhard
Chapaya
Frequent Advisor

Re: Missing 40Gbyte free space on vg00 .

Hi Bernhard ,
On the original machine the PE is 4M ,
i think that the reason is that on the original the system disk is 18G , and on the target the system disk is 71G .
Am i right ?

Bye ,
Eran.
Bernhard Mueller
Honored Contributor

Re: Missing 40Gbyte free space on vg00 .

Exactly.
Bill Hassell
Honored Contributor

Re: Missing 40Gbyte free space on vg00 .

The reason that the physical extents needs to be changed is that there is a limit to the total number of extents allowed for a volume group. At 4meg for a PE, really large disks will require more then 65535 extents (65,535 * 4 = 262,140megs or 262Gb). The extent count is for the entire volume, all disks taken together *including* mirror disks. The default extent count is 1,016 for a max of 4Gb without overriding the vgcreate extent count.

vgcreate set the maximum size for a volume group and it will automatically adjust the maxPE count as well as the PEsize based on the size of all the disks included on the vgcreate command line. That is why you must always plan ahead for possible expansion in the future because once the volume group is created, it cannot allocate more extents than TotalPE.


Bill Hassell, sysadmin