Possible 2.6.23 regression - Disappearing disk space
Quoted 4 lines · James Ausmus
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.
Signature · 2 lines
Tomasz Chmielewski http://wpkg.org
Quoted 21 lines · Tomasz Chmielewski
Quoted 4 lines · James Ausmus
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=/fileAnd on another terminal:
# rm -f /fileNow watch your space decreasing with "df -h", although "the file was deleted". Was it really?
Quoted 8 lines
# 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
Quoted 6 lines
--
Tomasz Chmielewski
http://wpkg.org