discrepancies in disk usage between df and du

2010-02-12 Thread Fernan Aguero
Hi, I have a box (7.2-STABLE, amd64) that is currently showing some disk usage problems. It all started with apache generating huge logs from one of the mod_perl applications that is undergoing testing. So the /var partition was getting full. We removed all logs that were causing the problem,

Re: discrepancies in disk usage between df and du

2010-02-12 Thread Paul Schmehl
You have a file locking problem. du shows disk in use, but df shows disk committed. Use lsof to identify the file that has disk space reserved but no longer exists. man (8) lsof --On February 12, 2010 5:39:44 PM -0300 Fernan Aguero fernan.agu...@gmail.com wrote: Hi, I have a box

Re: discrepancies in disk usage between df and du

2010-02-12 Thread Fernan Aguero
On Fri, Feb 12, 2010 at 8:53 PM, Paul Schmehl pschmehl_li...@tx.rr.com wrote: You have a file locking problem.  du shows disk in use, but df shows disk committed.  Use lsof to identify the file that has disk space reserved but no longer exists.  man (8) lsof Thanks Paul for the suggestion.