Re: Problem: df on tmpfs not reported correctly when filesystem isfull

From: Bruno PrÃmont
Date: Thu May 19 2011 - 12:39:43 EST


Hi,

On Thu, 19 May 2011 Emil Natan <ena@xxxxxxxxxxx> wrote:
> The problem seems to have been introduced in version linux-2.6.36 and
> up, it works well in 2.6.35.13. When tmpfs filesystem is full, in the
> output of df command the "Used", "Available" and "Use%" the numbers
> are replaced with hyphens:
>
> # df /images/1
> Filesystem 1K-blocks Used Available Use% Mounted on
> tmpfs 1024 - - - /images/1
>
> Here is how it looks with "good" and "bad" kernel and how to reproduce
> the issue. Please let me know if more debug information is needed in
> a mail cc-ied directly to me.

This was fixed in 2.6.39 (now released) with following patch:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=fc5da22ae35d4720be59af8787a8a6d5e4da9517

It's already queued for stable so it should show up there soon.

Bruno
--
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/