Welcome to WebmasterWorld Guest from 54.196.208.6

Forum Moderators: bakedjake

Message Too Old, No Replies

why the result of df a partition is different from du so much

     
10:09 am on Feb 23, 2009 (gmt 0)

New User

5+ Year Member

joined:Dec 13, 2007
posts:10
votes: 0


[@4.54 ~]# df -k /var
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/vgroot-lvvar
4062912 3424616 428584 89% /var
[@4.54 ~]# du -sh /var
120M /var
[@4.54 ~]# lsof /var
[@4.54 ~]#

but after remount /var
the result of df -k /var is almost as same as du

btw:sorry for my poor english:)

2:36 am on Feb 25, 2009 (gmt 0)

New User

5+ Year Member

joined:Dec 13, 2007
posts:10
votes: 0


This problem has been solved
:)
I just execute "/etc/rc.d/init.d/psacct start" once
then "df -h"
the result is as same as du