Re: File system size difference betwen lvdisplay & df -h

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

 



Hi,
 
The following df -h & lvdisplay shows the discrpancy..What could be the reson?
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

# lvdisplay -v /dev/vg00/lv_test
    Using logical volume(s) on command line
  --- Logical volume ---
  LV Name                /dev/vg00/lv_test
  VG Name                vg00
  LV UUID                t9RjGa-hKR3-AQmA-sLqD-4PaI-fkJ3-99c1dx
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                128.00 MB
  Current LE             4
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:3


# df -h /home
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg00-lv_home
                     1008M   37M  921M   4% /home

# lvdisplay -v /dev/vg00/lv_home
    Using logical volume(s) on command line
  --- Logical volume ---
  LV Name                /dev/vg00/lv_home
  VG Name                vg00
  LV UUID                1wlyyE-RFID-0Dbi-DES8-lrDk-GLlB-6wpEBZ
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                1.00 GB
  Current LE             32
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:1

Regs,
DM

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

I am observing the file system size difference between df -h & lvdisplay output for the systems with RHEL 4 (update 3 & 6). Its showing the discrepancy in size between lvdisplay & df -h , If lvsize is less than 1GB .. Is there any specific reason for that..

Regs, DM

You don't tell us what the discrepancy is or give an example, so it's
hard to make any useful suggestions.

Can you provide sample command output that shows the discrepancy you
are referring to?

Regards,
Bryn.

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux