MIME-Version: 1.0 In-Reply-To: <499A96CD.20808@redhat.com> References: <9d1973c20902170225m7e0f87d2ydda7622a2c0dccf7@mail.gmail.com> <499A96CD.20808@redhat.com> Date: Tue, 17 Feb 2009 16:35:53 +0530 Message-ID: <9d1973c20902170305h14bfb304h84f839f5ac301b03@mail.gmail.com> Subject: Re: [linux-lvm] File system size difference betwen lvdisplay & df -h From: Dayanand Math Content-Type: multipart/alternative; boundary=000e0cd29bf061346604631b49fd Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: bmr@redhat.com, LVM general discussion and development --000e0cd29bf061346604631b49fd Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 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/ > --000e0cd29bf061346604631b49fd Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,
 
The following df -h & lvdisplay shows the discrpancy..What could b= e the reson?
I am referring to the discrepancy between LV Size in lvdisplay &&n= bsp; total  size df -h output of the corresponding file system.

 df -h /test
Filesystem       = ;     Size  Used Avail Use% Mounted on
/dev/map= per/vg00-lv_test
         &= nbsp;            124= M   11M  107M   9% /test

# lvdisplay -v /dev/vg00/lv_test
    Using logical vol= ume(s) on command line
  --- Logical volume ---
  LV Name&n= bsp;            = ;   /dev/vg00/lv_test
  VG Name    &n= bsp;           vg00
&n= bsp; LV UUID          &nb= sp;     t9RjGa-hKR3-AQmA-sLqD-4PaI-fkJ3-99c1dx
  LV Write Access        read/write=
  LV Status         &= nbsp;    available
  # open    &= nbsp;            1  LV Size          = ;      128.00 MB
  Current LE  &= nbsp;          4
  Seg= ments           &nbs= p;   1
  Allocation      &n= bsp;      inherit
  Read ahead sectors     0
  Block device&= nbsp;          253:3


# df -h /home
Filesystem       = ;     Size  Used Avail Use% Mounted on
/dev/map= per/vg00-lv_home
         &= nbsp;           1008M&nbs= p;  37M  921M   4% /home

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

Regs,<= br>DM

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

I am observing the fi= le system size difference between df -h & lvdisplay output for the syst= ems with RHEL 4 (update 3 & 6). Its showing the discrepancy in size bet= ween lvdisplay & df -h , If lvsize is less than 1GB .. Is there any spe= cific reason for that..

Regs, DM

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

Can you provide sample command output that shows the d= iscrepancy you
are referring to?

Regards,
Bryn.

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

--000e0cd29bf061346604631b49fd--