Re: Possible 2.6.23 regression - Disappearing disk space

From: Tomasz Chmielewski
Date: Wed Oct 24 2007 - 14:25:41 EST


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.


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