The command "df -h" no show me the size of partition true!

Ed Wilts ewilts at ewilts.org
Thu Nov 4 15:08:22 UTC 2004


On Thu, Nov 04, 2004 at 01:04:26PM -0200, Alessandro Viana wrote:
> Hi,
> 
> I be the following problem: When I execute the command "df -h" the
> system show me the size from partition /home with 916MB Used. But, when
> I execute "du -h -s" the system show me only 231MB in use in /home.
> I am use Red Hat AS 2.1!

You may have files that are open on the volume that du won't pick up.
This is especially true if you've deleted the file but a process still
has it open.

# lsof /home

-- 
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts at ewilts.org
Member #1, Red Hat Community Ambassador Program




More information about the redhat-list mailing list