xfs
[Top] [All Lists]

Re: losing disk space

To: "Greg Koch" <gkoch@xxxxxxxxxxxxxxx>
Subject: Re: losing disk space
From: roberto@xxxxxxxx
Date: Thu, 25 Mar 2004 16:32:52 +0100 (CET)
Cc: linux-xfs@xxxxxxxxxxx
Importance: Normal
In-reply-to: <20040325014100.0aaedcea.gkoch@tampabay.rr.com>
References: <20040325014100.0aaedcea.gkoch@tampabay.rr.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: SquirrelMail/1.4.2
> I have a server running apache on an 18GB xfs partition.  It seems to
> loose large chunks of disk space around the time the apache logs rotate.
>  The apache logs get to be around 2 gig at the end of the day and are
> compressed and started over by logrotate.  df reports one value
> while du-sch / reports another.  The value du give stays pretty much
> steady while the value df gives shows a gradual loss of disk space.
>
> The last time the disk filled up, I restarted and used xfs-repair which
> recovered a bunch of apache logs among other stuff.  The disk has plenty
> of room now and on most days seems to recover disk space after the log
> rotation.  Then on some days you dont see any space recovery.
>
> Here are some other details:
> Gentoo kernel Linux 2.4.25_pre7-gss-r2
> Dual Xeon 1.8 GHz CPU
> WDC WD200BB-00CAA1 hard drive in udma5 mode WriteCache=enabled
> xfsprogs 2.3.9
> logrotate 3.6.5
> syslogd 1.4.1
> apache 2.0.48
>
> --
>
> My colleagues, every statement I make today is backed up by sources,
> solid sources. These are not assertions. What we are giving you are
> facts and conclusions based on solid intelligence.
>
>
>

Maybe the problem is related to some process(es) that do not close a file
descriptor (a previously opened file), and a user or another precess has
removed the file.
As far I know "df" shows the free space with the "opened" but deleted
file, du shows the free space).

Please check the log rotation procedure and check the process open file
(please man "lsoft" and "fuser").

Bye
Roberto


<Prev in Thread] Current Thread [Next in Thread>