From owner-freebsd-stable@FreeBSD.ORG Mon Jan 8 19:53:13 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 A934F16A4A7 for ; Mon, 8 Jan 2007 19:53:13 +0000 (UTC) (envelope-from ghelmer@palisadesys.com) Received: from magellan.palisadesys.com (magellan.palisadesys.com [192.188.162.211]) by mx1.freebsd.org (Postfix) with ESMTP id 64E4513C465 for ; Mon, 8 Jan 2007 19:53:13 +0000 (UTC) (envelope-from ghelmer@palisadesys.com) Received: from [172.16.2.242] (cetus.palisadesys.com [192.188.162.7]) (authenticated bits=0) by magellan.palisadesys.com (8.13.8/8.13.8) with ESMTP id l08Jgivi019966 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 8 Jan 2007 13:42:44 -0600 (CST) (envelope-from ghelmer@palisadesys.com) Message-ID: <45A29EAD.5050308@palisadesys.com> Date: Mon, 08 Jan 2007 13:42:37 -0600 From: Guy Helmer User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <456C67C7.9030208@palisadesys.com> <20061128200321.GA65311@xor.obsecurity.org> In-Reply-To: <20061128200321.GA65311@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (magellan.palisadesys.com [192.188.162.211]); Mon, 08 Jan 2007 13:42:44 -0600 (CST) X-Palisade-MailScanner-Information: Please contact the ISP for more information X-Palisade-MailScanner: Found to be clean X-Palisade-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-4.399, required 6, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-Palisade-MailScanner-From: ghelmer@palisadesys.com Subject: Re: 6.x loosing record of free space after filesystem fills? 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: Mon, 08 Jan 2007 19:53:13 -0000 Kris Kennaway wrote: > On Tue, Nov 28, 2006 at 10:45:59AM -0600, Guy Helmer wrote: > >> We're encountering some problems on FreeBSD 6.1 SMP [...]. >> >> df shows wildly incorrect values for available >> space, sometimes even showing more space available than there is allocated >> to the partition[...] > First I've heard of it. May not be resolved unless a developer can > reproduce it. > > Kris > I think we've finally found the cause of the problem - it wasn't just occurring after heavy use, but was visible right after filesystem creation! We regularly built new filesystems with "newfs -U -O 1 -b 65536 -f 8192" (a couple of our older products are still based on FreeBSD 4, so we built UFS1 filesystems for all our products). It seems that newfs with the -O1 option creates inconsistent metadata: fsck on a large, newly-built UFS1 filesystem complains in phase 5 with "SUMMARY INFORMATION BAD". I've filed a PR on it. Guy