From owner-freebsd-questions@FreeBSD.ORG Mon May 23 13:20:45 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4639616A41C for ; Mon, 23 May 2005 13:20:45 +0000 (GMT) (envelope-from adam@internode.com.au) Received: from hamish.internode.com.au (hamish.internode.com.au [192.83.231.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC89F43D48 for ; Mon, 23 May 2005 13:20:44 +0000 (GMT) (envelope-from adam@internode.com.au) Received: from hamish.internode.com.au (localhost.internode.com.au [127.0.0.1]) by hamish.internode.com.au (8.12.9/8.12.1) with ESMTP id j4NDKfva054067 for ; Mon, 23 May 2005 22:50:41 +0930 (CST) Received: (from adam@localhost) by hamish.internode.com.au (8.12.9/8.12.1/Submit) id j4NDKfAD054066 for freebsd-questions@freebsd.org; Mon, 23 May 2005 22:50:41 +0930 (CST) X-Authentication-Warning: hamish.internode.com.au: adam set sender to adam@internode.com.au using -f Date: Mon, 23 May 2005 22:50:40 +0930 From: Adam Smith To: freebsd-questions@freebsd.org Message-ID: <20050523132040.GA50933@internode.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Face: $vsV$1FNbZN\JVpjV#&+/!oVW`Kw$j?w_,te\SS}(tKD21c+l$t%\RCS(r$G; XXk]6,(!N:&(N3EV0bY`3):UrgG7'*qsj3l.75IaHV1<`i*{[L\:F*l6fH##C:-p2]xW/R-Z:!bo; 5g3GP-{I{}7O>tN}`Xm/=-:8NG?f-r'$Qc3y[aW-7'W_S<`KYU!_; `7K=kuC$-.7J2*kk=~`c@ADp+xhsv(!a@eW-R_5wtx+tC)(]%W+ X-Scanned-By: MIMEDefang 2.24 (www . roaringpenguin . com / mimedefang) Subject: free space showing wrong; fsck doesn't help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2005 13:20:45 -0000 I have a partition showing the wrong free disk space on FreeBSD 5.3: $ uname -a FreeBSD nautilus.bugman.cx 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 [adam@nautilus /home/adam]$ df -h Filesystem Size Used Avail Capacity Mounted on /dev/ad0s1a 248M 46M 182M 20% / devfs 1.0K 1.0K 0B 100% /dev /dev/ad0s1e 248M 224K 228M 0% /tmp /dev/ad0s1f 34G 6.7G 25G 21% /usr /dev/ad0s1d 248M 37M 191M 16% /var /dev/ad2s1d 180G 168G -2.4G 101% /data devfs 1.0K 1.0K 0B 100% /var/named/dev Notice the /data partition.... Used and Size don't mathematically calculate. It's causing all sorts of errors when programs try and write to the disk... I have run fsck -fy on the partition while it was unmounted; no effect. I've CTRL-C'd another fsck which marked the partition dirty, rebooted, and let fsck do it's own thing; no effect. What do I need to do to fix this inconsistency? Cheers -- Adam Smith Internode : http://www.internode.on.net Phone : (08) 8228 2999