I have a RHEL 5.5 thin provisioned VM which exhibits this problem:
[root@imp2 ~]# vgs
VG #PV #LV #SN Attr VSize VFree
VolGroup00 1 2 0 wz--n- 11.88G 0
[root@imp2 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
7.8G 7.5G 0 100% /
That is, lvm is able to see that it has almost 12 gig disk but df reports only an 8 gig disk.
At this point, yum update fails indicating not enough space.
reboot has not helped.
I'm not seeing this reported widely via Google so what did I miss?
Is all the space alocated? vgdisplay Was the lvm volume extended?
[root@imp2 ~]# vgdisplay
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size 11.88 GB
PE Size 32.00 MB
Total PE 380
Alloc PE / Size 380 / 11.88 GB
Free PE / Size 0 / 0
Apologies. It appears I gave this VM a large swap space...cannot imagine why.
[root@imp2 ~]# lvdisplay
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID ZAPDDF-H6nq-G8UF-pxIg-XjmF-Dnen-TJh2v3
LV Write Access read/write
LV Status available
# open 1
LV Size 8.00 GB
Current LE 256
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID qhPB2P-x9sy-v4I1-LA96-jVNL-KeU1-JmaEq4
LV Write Access read/write
LV Status available
# open 1
LV Size 3.88 GB
Current LE 124
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1