From owner-freebsd-stable@FreeBSD.ORG Tue Nov 28 20:37:21 2006 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 23A2F16A415 for ; Tue, 28 Nov 2006 20:37:21 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id A00DA43CC7 for ; Tue, 28 Nov 2006 20:37:05 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 55C101A4D90; Tue, 28 Nov 2006 12:03:40 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 82C4D51211; Tue, 28 Nov 2006 15:03:22 -0500 (EST) Date: Tue, 28 Nov 2006 15:03:22 -0500 From: Kris Kennaway To: Guy Helmer Message-ID: <20061128200321.GA65311@xor.obsecurity.org> References: <456C67C7.9030208@palisadesys.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="envbJBWh7q8WU6mo" Content-Disposition: inline In-Reply-To: <456C67C7.9030208@palisadesys.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-stable@freebsd.org 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: Tue, 28 Nov 2006 20:37:21 -0000 --envbJBWh7q8WU6mo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 28, 2006 at 10:45:59AM -0600, Guy Helmer wrote: > We're encountering some problems on FreeBSD 6.1 SMP with a number of=20 > end-user systems where a Postgresql database is growing to the point=20 > where the filesystem is nearly full or completely runs out of free=20 > space. After this point, df shows wildly incorrect values for available= =20 > space, sometimes even showing more space available than there allocated= =20 > to the partition (and our systems rely on df to determine when to send=20 > warnings to end-users that the free disk space is getting low). We've=20 > found the only way to correct the situation is to take the system down=20 > to single-user mode and force a non-background fsck on the partition -=20 > simply rebooting the system does not fix the situation. >=20 > We're going to try setting debug.mpsafevfs to 0 in /boot/loader.conf to= =20 > see if this works around the problem. I've gone through the CVS logs=20 > for src/sys/ufs/ffs/* but I haven't seen anything that would=20 > specifically apply to this problem. Has anyone else seen this problem,= =20 > and by chance is it resolved for 6.2? First I've heard of it. May not be resolved unless a developer can reproduce it. Kris --envbJBWh7q8WU6mo Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFbJYJWry0BWjoQKURAgR9AKDbaGlgsgX0gdT0jAy19aikQfaHCgCfdz8g 7i6q1XaagyIqXj5sQW7RyMo= =EbQv -----END PGP SIGNATURE----- --envbJBWh7q8WU6mo--