Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jan 2007 13:42:37 -0600
From:      Guy Helmer <ghelmer@palisadesys.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: 6.x loosing record of free space after filesystem fills?
Message-ID:  <45A29EAD.5050308@palisadesys.com>
In-Reply-To: <20061128200321.GA65311@xor.obsecurity.org>
References:  <456C67C7.9030208@palisadesys.com> <20061128200321.GA65311@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45A29EAD.5050308>