How about using "lvdisplay" to display your LV? You are looking at the VG size which is NOT the same as the LV size :)
What does 'lvdisplay /dev/mapper/vg_222-lvol0' show? Also, you can get things into the same unit level so you don't have to do math: lvdisplay --units=g /dev/mapper/vg_222-lvol0 df --block-size=G /dev/mapper/vg_222-lvol0 One other thing to be aware of is that an LV can be resized and if the filesystem is not also resized they will not match. Also, depending on the filesystem blocksize, you may not be able to use every byte in the LV for your filesystem. Kevin -----Original Message----- From: rhelv5-list-boun...@redhat.com [mailto:rhelv5-list-boun...@redhat.com] On Behalf Of Domenico Viggiani Sent: Wednesday, September 21, 2011 2:19 AM To: 'Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list' Subject: [rhelv5-list] FS size in df output differs from lvol size Hi, "df" shows these data for a mounted filesystem: Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/vg_222-lvol0 433487648 347804376 76875316 82% /database/synth but "vgdisplay vg_222" shows: --- Volume group --- VG Name vg_222 System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 6 VG Access read/write VG Status resizable MAX LV 0 Cur LV 1 Open LV 1 Max PV 0 Cur PV 1 Act PV 1 VG Size 420.00 GB PE Size 4.00 MB Total PE 107519 Alloc PE / Size 107519 / 420.00 GB Free PE / Size 0 / 0 VG UUID 4t3kBo-kOMX-EZ0w-vVRp-ewa3-HuWb-od6wB0 If I'm not mad, 107519 * 4096 = 440397824, that is not 433487648. At my knowledge, df size is used + available + reserved (2% in my case). Any help? Thanks -- DV _______________________________________________ rhelv5-list mailing list rhelv5-list@redhat.com https://www.redhat.com/mailman/listinfo/rhelv5-list _______________________________________________ rhelv5-list mailing list rhelv5-list@redhat.com https://www.redhat.com/mailman/listinfo/rhelv5-list