From owner-freebsd-current@FreeBSD.ORG Thu Nov 3 11:51:00 2011 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8DF7106564A; Thu, 3 Nov 2011 11:51:00 +0000 (UTC) (envelope-from sascha@trimind.de) Received: from mikako.shopkeeper.de (mikako.shopkeeper.de [82.119.175.20]) by mx1.freebsd.org (Postfix) with ESMTP id 6F2E58FC15; Thu, 3 Nov 2011 11:50:59 +0000 (UTC) Received: from avalon.dobu.local (p508D4743.dip.t-dialin.net [80.141.71.67]) (authenticated bits=0) by mikako.shopkeeper.de (8.14.3/8.14.3) with ESMTP id pA3BosIW031316 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Nov 2011 12:50:57 +0100 (CET) (envelope-from sascha@trimind.de) Received: from avalon.dobu.local (localhost [127.0.0.1]) by avalon.dobu.local (8.14.4/8.14.2) with ESMTP id pA3BosWg002210; Thu, 3 Nov 2011 12:50:54 +0100 (CET) (envelope-from sascha@avalon.dobu.local) Received: (from sascha@localhost) by avalon.dobu.local (8.14.4/8.14.4/Submit) id pA3Boso9002209; Thu, 3 Nov 2011 12:50:54 +0100 (CET) (envelope-from sascha) Date: Thu, 3 Nov 2011 12:50:54 +0100 From: Sascha Klauder To: "Andrey V. Elsukov" Message-ID: <20111103115054.GA2155@trimind.de> References: <8453E2A2-3219-4FAA-98CE-2F9D66EA1C39@FreeBSD.org> <20111028094828.GA1781@trimind.de> <4EAF9E67.4040605@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4EAF9E67.4040605@FreeBSD.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.97.2 at mikako.shopkeeper.de X-Virus-Status: Clean X-Mailman-Approved-At: Thu, 03 Nov 2011 12:14:47 +0000 Cc: Garrett Cooper , antik@bsd.ee, Martin Wilke , current@FreeBSD.org, freebsd-geom@FreeBSD.org Subject: Re: gmirror failed with error 19. 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: Thu, 03 Nov 2011 11:51:01 -0000 On Tue, 2011-11-01 11:23 +0400, Andrey V. Elsukov wrote: > On 28.10.2011 13:48, Sascha Klauder wrote: > > GEOM_MIRROR: Device mirror/gm0 launched (2/2). > > GEOM_PART: partition 1 has end offset beyond last LBA: 490350671 > 490350670 > > GEOM_PART: integrity check failed (mirror/gm0, MBR) > This is the main problem. Your MBR' slice is bigger than actual space > you have. The only way to fix this - recreate slice. I've partioned and labeled the disk with sysinstall(8) from 8.2-RELEASE media. Does 9.0 use different disk geometry cal- culation than 8.2 or is usage of gmirror the culprit? Both 8.2 and 9.0 kernels report the disk having 490350672 sectors. > You can break your mirror, recreate the slice (NOTE: you must preserve > one sector for the gmirror's meta-data), then copy your data to the > newly created slice, then reboot from the new slice and recreate mirror. I think I'd rather reinstall 9.0 from scratch, getting rid of MBR/disklabel as well. Cheers, -sascha