[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] File system size difference betwen lvdisplay & df -h



On Tuesday, 2009-02-17 at 16:35:53 +0530, Dayanand Math wrote:

> The following df -h & lvdisplay shows the discrpancy..What could be the
> reson?

Get a spelin cheker :-P

> I am referring to the discrepancy between LV Size in lvdisplay &  total
> size df -h output of the corresponding file system.

>  df -h /test
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/mapper/vg00-lv_test
>                       124M   11M  107M   9% /test

Please use df -k to get exact figures.

> # lvdisplay -v /dev/vg00/lv_test
>   LV Size                128.00 MB

Depending on the filesystem type, which we don't know, the filesystem
may not use all available space because of its structure, i.e. because
you don't get an integral number of cylinder groups out of the available
space. This is less obvious with large (i.e. multi-Gigabyte)
filesystems.

Please do not top-post and remove all fluff in your answers.

> On 2/17/09, Bryn M. Reeves <bmr redhat com> wrote:

> > Dayanand Math wrote:

HTH,
Lupe Christoph
-- 
| There is no substitute for bad design except worse design.                   |
| /me                                                                          |


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]