Received: with ECARTIS (v1.0.0; list linux-xfs); Wed, 24 Mar 2004 22:41:08 -0800 (PST) Received: from ms-smtp-02.tampabay.rr.com (ms-smtp-02-smtplb.tampabay.rr.com [65.32.5.132]) by oss.sgi.com (8.12.10/8.12.9) with SMTP id i2P6f2KO001425 for ; Wed, 24 Mar 2004 22:41:03 -0800 Received: from lexx.gnuorder.net (6532127hfc125.tampabay.rr.com [65.32.127.125]) by ms-smtp-02.tampabay.rr.com (8.12.10/8.12.7) with SMTP id i2P6f082024004 for ; Thu, 25 Mar 2004 01:41:00 -0500 (EST) Date: Thu, 25 Mar 2004 01:41:00 -0500 From: Greg Koch To: linux-xfs@oss.sgi.com Subject: losing disk space Message-Id: <20040325014100.0aaedcea.gkoch@tampabay.rr.com> X-Mailer: Sylpheed version 0.9.4 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-archive-position: 2578 X-ecartis-version: Ecartis v1.0.0 Sender: linux-xfs-bounce@oss.sgi.com Errors-to: linux-xfs-bounce@oss.sgi.com X-original-sender: gkoch@tampabay.rr.com Precedence: bulk X-list: linux-xfs Content-Length: 1105 Lines: 27 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.