From owner-freebsd-stable@FreeBSD.ORG Tue May 8 09:55:12 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A1F0416A402 for ; Tue, 8 May 2007 09:55:12 +0000 (UTC) (envelope-from stefan.lambrev@sun-fish.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 781D113C469 for ; Tue, 8 May 2007 09:55:11 +0000 (UTC) (envelope-from stefan.lambrev@sun-fish.com) Received: from blah.sun-fish.com (localhost [127.0.0.1]) by blah.sun-fish.com (Postfix) with ESMTP id 20BE31B10EB5; Tue, 8 May 2007 11:55:10 +0200 (CEST) Received: from hater.cmotd.com (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id 1C26C1B10C26; Tue, 8 May 2007 11:55:10 +0200 (CEST) Message-ID: <464048FD.2010108@sun-fish.com> Date: Tue, 08 May 2007 12:55:09 +0300 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.0 (X11/20070425) MIME-Version: 1.0 To: Newtunes Support References: <11e9464b0705080221y7ee12e24l9f0ead221b632dac@mail.gmail.com> In-Reply-To: <11e9464b0705080221y7ee12e24l9f0ead221b632dac@mail.gmail.com> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP on BLAH Cc: freebsd-stable@freebsd.org, hanatsu.tori@gmail.com Subject: Re: Incorrect df -k output X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 May 2007 09:55:12 -0000 Hi, Newtunes Support wrote: > Hi all! > > I have the folliwing issue on 6.1 and 6.2 > df -k utility always shows me incorrect disk usage. This is more for questions@ and already discussed many times: from man tunefs: -m minfree Specify the percentage of space held back from normal users; the minimum free space threshold. The default value used is 8%. Note that lowering the threshold can adversely affect perfor- mance: and etc.. > > Server with 6.1 on board: > =========================== > xxxxx# uname -a > FreeBSD xxxxx 6.1-RELEASE-p6 FreeBSD 6.1-RELEASE-p6 #0: Mon Sep 18 > 17:06:13 > MSD 2006 root@xxxxx:/usr/obj/usr/src/sys/GENERIC i386 > > xxxxx# df -k > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/ad4s1a 76866422 51507978 19209132 73% / > devfs 1 1 0 100% /dev > */dev/ad6s1d 77879478 75006042 -3356922 105% > /usr/home/ftp/pub/ARCHIEVE* > > > xxxxx# du -sk /usr/home/ftp/pub/ARCHIEVE > 75006042 /usr/home/ftp/pub/ARCHIEVE > > And I have such bug oh 6.2 on second server too. > ================================================ > > xxxxx# uname -a > FreeBSD xxxxx 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC > 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 > > xxxxx# df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/ad0s1a 496M 36M 420M 8% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/ad0s1d 1.9G 425M 1.4G 23% /tmp > /dev/ad0s1f 136G 70G 55G 56% /usr > */dev/ad0s1e 3.9G 3.6G -21M 101% /var* > /dev/ad2s1d 144G 25G 108G 19% /hd2 > procfs 4.0K 4.0K 0B 100% /proc > > xxxxx# du -sh /var > 202M /var > ======================== > > What can be a reason of this malfunction? I tryed to bounce serve4rs > but it > had not fix the issue. > Please advise. > > Thanks > Dmitry > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -- Best Wishes, Stefan Lambrev ICQ# 24134177