[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [linux-lvm] lvm size mismatch?
- From: David Johnston <david littlebald com>
- To: linux-lvm redhat com
- Subject: Re: [linux-lvm] lvm size mismatch?
- Date: Wed Feb 25 09:40:04 2004
On Mon, 2004-02-23 at 19:56, Soon-Son Kwon wrote:
> Hi I am using lvm on debian woody.
> The version would be about 1.0.x.
>
> foo:/var# df -h
> Filesystem Size Used Avail Use% Mounted on
> /dev/vol/var 18G 16G 2.7G 85% /var
>
> foo:/var# du . -sh
> 5.4G .
>
> where does this size mismatch come from?
iirc, df looks at the filesystem's free space maps, while du sums the
file sizes as listed in the directories. I'd guess that you've got
10.6G marked as "in use" in the free space maps that isn't referenced by
any inode. 'fsck -f /var' should fix it; remember that you'll have to
unmount /var first.
--
David Johnston <david littlebald com>
Little Bald Consulting, LLC
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]