From owner-freebsd-current@FreeBSD.ORG Thu Nov 3 22:26:54 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 A5337106564A for ; Thu, 3 Nov 2011 22:26:54 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 68DFC8FC0A for ; Thu, 3 Nov 2011 22:26:54 +0000 (UTC) Received: by iabz21 with SMTP id z21so2983964iab.13 for ; Thu, 03 Nov 2011 15:26:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=RWHdmeFDZbWUIJPgKJNseBYC4j9tYB+PcjCpp3DaQf8=; b=ig+V/8J+Kh+Gh1kJhA0hQ0QUUnA1anip8YVTEEaKAKnvag0WG3I7H2lsEFXWtYdxYI HDagcHmgIVtHDZNRKZQoqUYdB9luKhMYW2dsKn21UQZZOCJQZKj7AKq9qr2zSbkbm6K8 zjUx2aJ4iqyyWnmvjRgfHZYGM1cn1hRsqKafY= MIME-Version: 1.0 Received: by 10.231.28.209 with SMTP id n17mr2553578ibc.89.1320359213721; Thu, 03 Nov 2011 15:26:53 -0700 (PDT) Received: by 10.231.46.198 with HTTP; Thu, 3 Nov 2011 15:26:53 -0700 (PDT) In-Reply-To: <20111103115054.GA2155@trimind.de> References: <8453E2A2-3219-4FAA-98CE-2F9D66EA1C39@FreeBSD.org> <20111028094828.GA1781@trimind.de> <4EAF9E67.4040605@FreeBSD.org> <20111103115054.GA2155@trimind.de> Date: Thu, 3 Nov 2011 15:26:53 -0700 Message-ID: From: Kevin Oberman To: Sascha Klauder Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: antik@bsd.ee, current@freebsd.org, freebsd-geom@freebsd.org, Garrett Cooper , Martin Wilke , "Andrey V. Elsukov" 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 22:26:54 -0000 On Thu, Nov 3, 2011 at 4:50 AM, Sascha Klauder wrote: > On Tue, 2011-11-01 11:23 +0400, Andrey V. Elsukov wrote: >> On 28.10.2011 13:48, Sascha Klauder wrote: >> > =A0GEOM_MIRROR: Device mirror/gm0 launched (2/2). >> > =A0GEOM_PART: partition 1 has end offset beyond last LBA: 490350671 > = 490350670 >> > =A0GEOM_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. > > =A0I've partioned and labeled the disk with sysinstall(8) from > 8.2-RELEASE media. =A0Does 9.0 use different disk geometry cal- > culation than 8.2 or is usage of gmirror the culprit? =A0Both > 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. > > =A0I think I'd rather reinstall 9.0 from scratch, getting rid > of MBR/disklabel as well. While using gpart and the 9.0 installer has some real benefits, it also has a few problems. I ave a disk that I partitioned with bsdinstall from the 9.0 distribution media and it worked fine for a STAT disk, but I am unable to boot te same disk when connected to a USB adapter. It shows up in the boot list, but when I select it, the screen blanks for a few seconds (<5) and the list re-appears. No errors, but my T520 BIOS clearly is not happy with it. I have no idea how common htis issue might be, but the T520 does have a UEFI BIOS. As noted, GEOM wants the final sector on the disk for its metadata, but GPT mandates that hte ast sector of the disk be used for a backup of the boot sector. The leads to the potential ofr all kinds if ugliness to develop, especially when BIOS, which knows nothing about GEOM, is accessing the disk. --=20 R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com