From owner-freebsd-questions Sat Dec 29 19: 5:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from bsd.ee.ntu.edu.tw (bsd.ee.ntu.edu.tw [140.112.18.34]) by hub.freebsd.org (Postfix) with ESMTP id 07F9137B41A for ; Sat, 29 Dec 2001 19:05:07 -0800 (PST) Received: by bsd.ee.ntu.edu.tw (Postfix, from userid 1000) id 8B073FB49; Sun, 30 Dec 2001 11:05:24 +0800 (CST) Date: Sun, 30 Dec 2001 11:05:24 +0800 From: sothat To: freebsd-questions@freebsd.org Subject: du and df not consistency ? Message-ID: <20011230030524.GA32059@bsd.ee.ntu.edu.tw> Mail-Followup-To: sothat , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline User-Agent: Mutt/1.3.24i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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