[Q]:Why disk space displayed by df and du aren't same?

From: Peng Wei <pengw_at_astrosv1.ihep.ac.cn>
Date: Thu, 20 Feb 1997 15:52:42 +0800

Hi All,
  I find a file named '-u' under the / file system is large
(about 10M) and the / file system will be full. I delete the
file by using the command:

#rm -- -u

Thr disk space displayed by using command "#df -k" is

Filesystem 1024-blocks Used Avail Capacity Mounted
on
root_domain#root 81920 76950 4970 94% /

But I use command :
#du -kx /
to display the disk space of root file system. The result is

51723 /

My computer is AS 2000, OS is OSF/1 3.2 and / file system's type is AdvFS.

How about this problem? which result of disk space is right? And What
I should do to repair it?
Thanks!

W. Peng
pengw_at_astrosv1.ihep.ac.cn
Received on Thu Feb 20 1997 - 09:07:32 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT