On Mon, 22 Sep 2003 23:54:54 +0200
Charlie <[EMAIL PROTECTED]> wrote:

> Salut,
> 
> here you see my diskspace made with df -h , the problem is my /root it 
> shows me only 18M available, but with 'du' it
> must be about 300 M, I made it the 'du' also for the other partitions 
> and  it is OK.
> Has anybody a hint for me.
> I logged in with a Knoppix and can't find nothing which explaint the 
> lost 30M.
> 
[snip]

>From the ext3 FAQ (http://batleth.sapienti-sat.org/projects/FAQs/ext3-faq.html):

Q: 'df' command says partition is full, while 'du' reports free space
Theodore Ts'o, the ext2 developer, said: 

The standard cause for this is some user process keeping a deleted file open. When 
this happens, the space is not visible via 'du', since the file is no longer visible 
in the directory tree. However, the space is still used by the file until it is 
deallocated, and that can only happen once the last process which has the file open 
either closes its file descriptor to the file, or the process exits. You can use the 
lsof program to try to find which process is keeping an open file. Usually it's some 
log file, or some large data base file which gets rotated out, but some older process 
are still keeping the log file open. 


HTH,
A>



--
[EMAIL PROTECTED] mailing list

Reply via email to