Date: Sun, 30 Dec 2001 11:05:24 +0800 From: sothat <sothat@bsd.ee.ntu.edu.tw> To: freebsd-questions@freebsd.org Subject: du and df not consistency ? Message-ID: <20011230030524.GA32059@bsd.ee.ntu.edu.tw>
next in thread | raw e-mail | index | archive | help
Hi , I've met a weird problem the "/" is going out of space. Trying to find out what use the file system , I use du to figure it out what files use the space. below is df output: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da0s1a 297663 255876 17974 93% / /dev/da1s1e 297663 173693 100157 63% /usr/local /dev/ad0s1f 992239 668380 244480 73% /usr/src /dev/ad0s1e 2980238 2209800 532019 81% /backup /dev/ad0s1g 4037030 2587663 1126405 70% /backup2 /dev/vinum/vinum0 7000492 6230498 209955 97% /mnt /dev/da2e 68798704 7827914 55466894 12% /ftp procfs 4 4 0 100% /proc the "/" Used 255876 kilo byte But when I use du -d 1 -x in / 77 ./dev 93796 ./usr 1812 ./stand 861 ./etc 1 ./proc 3965 ./bin 714 ./boot 1 ./mnt 5193 ./modules 4887 ./root 11776 ./sbin 17965 ./tmp 2468 ./var 4 ./modules.old 2 ./ftp 1 ./mnt2 1 ./backup 1 ./backup2 49 ./lost+found 153189 . I just got 153189 kilo. why the df output and du got the different result ? ( I've sync many times :) -- -sothat To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011230030524.GA32059>