[Top] [All Lists]

Re: du vs. df inconsistency

To: linux-xfs@xxxxxxxxxxx
Subject: Re: du vs. df inconsistency
From: Federico Sevilla III <jijo@xxxxxxxxxxx>
Date: Fri, 4 Feb 2005 08:56:49 +0800
In-reply-to: <Pine.OSF.4.61.0502030956450.28806@xxxxxxxxxxxxxxxxxxx>
Mail-followup-to: linux-xfs@xxxxxxxxxxx
References: <Pine.OSF.4.61.0502030956450.28806@xxxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
On Thu, Feb 03, 2005 at 10:46:37AM -0500, Jameel Akari wrote:
> I have already tried a xfs_fsr on /foo which has improved the extents
> used by some files, but the apparent utilization didn't change.
> Anything else I can try before I dump the fs and make a new one?

Have you tried running xfs_repair on the properly unmounted filesystem?
A small disparity between du and df is expected and acceptable for
filesystem overhead, but the disparity you're reporting is abnormally
high, IMHO. My hunch is something's wrong with the filesystem, which
xfs_repair will hopefully find. There's also xfs_check, just to make
sure things are fine.

If you could replicate the problem in a finite number of operations from
a clean filesystem, I'm sure the XFS team would love to be able to
replicate it in their laboratories for testing (they'll need your kernel
version and some scripts, I presume) and, if possible, fixing.

 --> Jijo

Federico Sevilla III : jijo.free.net.ph : When we speak of free software
GNU/Linux Specialist : GnuPG 0x93B746BE : we refer to freedom, not price.

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