Re: Possible bug: ext3 misreporting filesystem usage

From: Miquel van Smoorenburg
Date: Wed Jun 02 2004 - 11:56:21 EST


In article <1275157.LnyMtzroWT@xxxxxxxxxxxxxx>,
Calvin Spealman <calvin@xxxxxxxxxxxxxx> wrote:
>I've been getting a possible bug after running my system a few weeks. The
>ext3 partition's usage is being misreported. Right now, df -h says ive got
>no space left, but according to du /, I'm only using 17 gigs of my 40 gig
>drive. Restarting fixes the problem, so I'm thinking it might be some
>mis-handled variable in memory, not something on the disc itself? And, yes,
>I do know that du is right, not df, because I keep good track of my disc
>usage. This is pretty serious, it killed a 40+ hour process that i'll have
>to start over again from the beginning!

There's a process holding on to a 23 GB logfile that has been
deleted. Try "ls -l /proc/*/fd/* 2>&1 | grep deleted" . Kill the
process and you'll have your space back.

Mike.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/