Differences between "df -m" and summarized "du -sm *" in FC4

Cameron Simpson cs at zip.com.au
Wed Jun 14 01:41:10 UTC 2006


On 13Jun2006 11:41, Tony Nelson <tonynelson at georgeanelson.com> wrote:
| At 9:05 AM +0100 6/13/06, Paul Howarth wrote:
| >On Tue, 2006-06-13 at 08:13 +0200, Joachim Backes wrote:
| >> having an FC4 server and problems with /tmp:
| >> df -m says, that /tmp 100% full. But if going to /tmp, calling "du -sm
| >>*" and summarizing all sizes
| >> gives a huge difference against the df command (the sum is about 10% of
| >>the df-value).
| >>
| >> Remark: there are no .-files in /tmp so "du -sm *" fits all files in /tmp.
| >
| >You probably have a process running that has a a large open file in /tmp
| >that has been deleted. The disk space is not recovered for use by other
| >processes until the file is closed.
| >
| >Deleting an open temp file is a fairly common technique - it prevents
| >other processes getting any access to the file.
| 
| Could 10% be the root reservation?

Almost certainly.
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

Sometimes, you're the windshield....  sometimes, you're the bug!
        - Mark Knopfler




More information about the fedora-list mailing list