From owner-freebsd-questions@FreeBSD.ORG Tue May 26 23:05:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8DF9106567D for ; Tue, 26 May 2009 23:05:24 +0000 (UTC) (envelope-from ccowart@rescomp.berkeley.edu) Received: from hal.rescomp.berkeley.edu (hal.Rescomp.Berkeley.EDU [169.229.70.150]) by mx1.freebsd.org (Postfix) with ESMTP id 9E75D8FC21 for ; Tue, 26 May 2009 23:05:23 +0000 (UTC) (envelope-from ccowart@rescomp.berkeley.edu) Received: by hal.rescomp.berkeley.edu (Postfix, from userid 1225) id CC7DC3C0655; Tue, 26 May 2009 16:05:22 -0700 (PDT) Date: Tue, 26 May 2009 16:05:22 -0700 From: Chris Cowart To: Wojciech Puchar Message-ID: <20090526230522.GH49013@hal.rescomp.berkeley.edu> Mail-Followup-To: Wojciech Puchar , Peter Steele , freebsd-questions@freebsd.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="boAH8PqvUi1v1f55" Content-Disposition: inline In-Reply-To: Organization: RSSP-IT, UC Berkeley User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Peter Steele , freebsd-questions@freebsd.org Subject: Re: Is this a gmirror bug? 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: Tue, 26 May 2009 23:05:25 -0000 --boAH8PqvUi1v1f55 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Wojciech Puchar wrote: > > I've seen this kind of thing appear in my df output: > > linprocfs 4 4 0 100% /proc > > > > /dev/mirror/gm0d 4058062 -377792 4111210 -10% /tmp > > > > /dev/mirror/gm0e 15231278 -113942 14126718 -1% /var > > > > /dev/ad10s3e 121487580 4 111768570 0% /v3 > > > > /dev/ad8s3e 121487580 4 111768570 0% /v2 > > > > /dev/ad6s3e 121487580 4 111768570 0% /v1 > > > > /dev/ad4s3e 121487580 4 111768570 0% /v0 > > > > > > > > It's showing that two partitions in my gm0 partition are below 0% > > capacity. This is clearly wrong, but what does it mean? > > > it has nothing to do with gmirror - no matter if it's virtual disk (gm0= =20 > that case) or physical, partition or not, it's just block device to UFS. >=20 > definitely it is some problem but with UFS here. >=20 > unmount this filesystems and do fsck_ffs -y on them Nothing is wrong. 10% of the disk space is reserved for the superuser. The 10% free mark is what shows as 0% in df. If you're negative, it means you've tapped into the super-user reserve. This is not good, because it means you've lost a lot of the FS-level optimizations from UFS. --=20 Chris Cowart Network Technical Lead Network & Infrastructure Services, RSSP-IT UC Berkeley --boAH8PqvUi1v1f55 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iQIcBAEBAwAGBQJKHHWyAAoJEIGh6j3cHUNPz24P+wWDOm+PQ1QLOh0MlAAuZ6Vo /PCj3idJV6enSWPk7+MGjW/0cFjARqmPnkvhzsZMeoznIwmLzjN1AnauhXMLBTwB zSblkGzvGgCIPHyGieW2Kegz9VU9hiX2BFIEG/3YMMPBhZ16ePGzuO12+VVdT4TA HM/mjPSocO8x6tV/3xNAr2iWnDcaJk7g6y3v8bO+P08O4Xu/YWapWFPON7iL8cLM fG3HBiyrm3/9RlYubD/hzoFVG7094PNl4xFkxKQsjK1+a1Dx9NVqV2DKxRK5EDRD H0RMcXdr/IO1UbXSD0fBKY/83io/ac+1K+9X0D+nk5o3vGx6pa3okjwtQ9SRdsqy F/c2g1OIB1uq1E/+Hq0eApvrLogSIRIrtfkibZkmEfrykGLxqgIsXShNg2X7Ei43 8yHx8pP47XZ0+RhHIgPpsaLBKQhOS18qlAMvwB2kgEoNq4kctgmXB5cOK8fZDfL7 y8/ALqmplfBUTmJxYiX2Rw5t70SI4wPBc9RcjXFcxCdDVaSqbdf2QIN5P/ANrnv0 GxusO3Ew2qfs8csS19XKWz4stCHykOTJlFAXriRGVciyiroWvrnsFmgJqv2uxO04 GUm+zk0l1dTM+ULe0Del2SYUxogVnyQE8qVVqBWGrNsEp161ZLMDFR6Cmldr6hrw olJ9gVWGCE4q6+wqAd/J =Lw06 -----END PGP SIGNATURE----- --boAH8PqvUi1v1f55--