homepage Welcome to WebmasterWorld Guest from 54.166.108.167
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

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




msg:3855692
 10:09 am on Feb 23, 2009 (gmt 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:)

 

haha




msg:3857186
 2:36 am on Feb 25, 2009 (gmt 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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved