Re: Possible 2.6.23 regression - Disappearing disk space

From: James Ausmus
Date: Wed Oct 24 2007 - 14:31:01 EST


On 10/24/07, Tomasz Chmielewski <mangoo@xxxxxxxx> wrote:
> James Ausmus wrote:
>
> > As a note - when I first see the issue, I have exactly 0 free space
> > available on root, as per df - I then delete some random things in
> > order to have enough free space to operate, which is why in my first
> > df you see 55M available
>
> Perhaps some program still uses some (deleted) files.
>
> Here's how you can achieve a similar effect manually:
>
> # dd if=/dev/zero of=/file
>
> And on another terminal:
>
> # rm -f /file
>
>
> Now watch your space decreasing with "df -h", although "the file was
> deleted". Was it really?
>
> # lsof -n|grep /file
> dd 6406 root 1w REG 8,1 807791616
> 45 /file (deleted)
>
>
>
> That said, you might want to use lsof and search for "deleted" before
> concluding any further.


Thanks for the tip - I'll do that the next time the issue occurs and
post my results.

-James

>
>
> --
> Tomasz Chmielewski
> http://wpkg.org
>
-
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/