* [linux-lvm] File system size difference betwen lvdisplay & df -h
@ 2009-02-17 10:25 Dayanand Math
2009-02-17 10:51 ` Bryn M. Reeves
0 siblings, 1 reply; 5+ messages in thread
From: Dayanand Math @ 2009-02-17 10:25 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 273 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 389 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] File system size difference betwen lvdisplay & df -h
2009-02-17 10:25 [linux-lvm] File system size difference betwen lvdisplay & df -h Dayanand Math
@ 2009-02-17 10:51 ` Bryn M. Reeves
2009-02-17 11:05 ` Dayanand Math
0 siblings, 1 reply; 5+ messages in thread
From: Bryn M. Reeves @ 2009-02-17 10:51 UTC (permalink / raw)
To: LVM general discussion and development
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] File system size difference betwen lvdisplay & df -h
2009-02-17 10:51 ` Bryn M. Reeves
@ 2009-02-17 11:05 ` Dayanand Math
2009-02-17 11:16 ` Bryn M. Reeves
2009-02-17 11:26 ` Lupe Christoph
0 siblings, 2 replies; 5+ messages in thread
From: Dayanand Math @ 2009-02-17 11:05 UTC (permalink / raw)
To: bmr, LVM general discussion and development
[-- Attachment #1: Type: text/plain, Size: 2359 bytes --]
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/
>
[-- Attachment #2: Type: text/html, Size: 5461 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] File system size difference betwen lvdisplay & df -h
2009-02-17 11:05 ` Dayanand Math
@ 2009-02-17 11:16 ` Bryn M. Reeves
2009-02-17 11:26 ` Lupe Christoph
1 sibling, 0 replies; 5+ messages in thread
From: Bryn M. Reeves @ 2009-02-17 11:16 UTC (permalink / raw)
To: Dayanand Math; +Cc: LVM general discussion and development
Dayanand Math wrote:
> 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.
That just appears to be normal file system overheads. All file systems
use some of the total space available on a device for storing internal
structures and data (the file system's metadata). You'll see this with
any block device type, e.g. with a 64M USB key:
# df -h /mnt
Filesystem Size Used Avail Use% Mounted on
/dev/sdc1 61M 5.3M 53M 10% /mnt
Regards,
Bryn.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] File system size difference betwen lvdisplay & df -h
2009-02-17 11:05 ` Dayanand Math
2009-02-17 11:16 ` Bryn M. Reeves
@ 2009-02-17 11:26 ` Lupe Christoph
1 sibling, 0 replies; 5+ messages in thread
From: Lupe Christoph @ 2009-02-17 11:26 UTC (permalink / raw)
To: LVM general discussion and development
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 |
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-02-17 11:26 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-17 10:25 [linux-lvm] File system size difference betwen lvdisplay & df -h Dayanand Math
2009-02-17 10:51 ` Bryn M. Reeves
2009-02-17 11:05 ` Dayanand Math
2009-02-17 11:16 ` Bryn M. Reeves
2009-02-17 11:26 ` Lupe Christoph
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.