From owner-freebsd-current@FreeBSD.ORG Sat Jul 11 13:39:40 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59420106566B for ; Sat, 11 Jul 2009 13:39:40 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from koef.zs64.net (koef.zs64.net [212.12.50.230]) by mx1.freebsd.org (Postfix) with ESMTP id EBBE38FC22 for ; Sat, 11 Jul 2009 13:39:39 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from localhost by koef.zs64.net (8.14.3/8.14.3) with ESMTP id n6BDdbRj018016 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sat, 11 Jul 2009 15:39:38 +0200 (CEST) (envelope-from stb@lassitu.de) (authenticated as stb) Message-Id: <2AAF9560-BD5C-4BB7-9AA6-D8F10853CF2D@lassitu.de> From: Stefan Bethke To: ticso@cicely.de In-Reply-To: <20090711133030.GA76026@cicely7.cicely.de> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Sat, 11 Jul 2009 15:39:37 +0200 References: <7C636440-4F5D-47B0-BE20-D417B054B1F6@lassitu.de> <20090711133030.GA76026@cicely7.cicely.de> X-Mailer: Apple Mail (2.935.3) Cc: FreeBSD Current Subject: Re: Unrecoverable UFS error but only with gmirror X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Jul 2009 13:39:40 -0000 Am 11.07.2009 um 15:30 schrieb Bernd Walter: > On Sat, Jul 11, 2009 at 02:54:01PM +0200, Stefan Bethke wrote: >> gmirror and/or ufs got into an odd state after a panic, where fsck >> could not fix errors on the mirror device, but each member filesystem >> was fine. Even after destroying the mirror, fixing all three member >> file systems with fsck, and recreating the mirror with just a single >> member fsck found the same errors on the mirror device. > > You've created the partitions without mirror? > The member drives are one block larger than the mirrored and if the > filesystem tries to use it under mirror it will fail. > The easiest way to avoid is to create the gmirror and then setup > your partitions on the mirror. No, I've newfs'ed the mirror device, not the disk partitions, so that shouldn't be the problem. Unless gmirror fails to subtract the metadata sector from the mirror device. Stefan -- Stefan Bethke Fon +49 151 14070811