Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Nov 2011 11:23:19 +0400
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        sascha@trimind.de
Cc:        Garrett Cooper <yanegomi@gmail.com>, antik@bsd.ee, Martin Wilke <miwi@freebsd.org>, current@freebsd.org, freebsd-geom@freebsd.org
Subject:   Re: gmirror failed with error 19.
Message-ID:  <4EAF9E67.4040605@FreeBSD.org>
In-Reply-To: <20111028094828.GA1781@trimind.de>
References:  <8453E2A2-3219-4FAA-98CE-2F9D66EA1C39@FreeBSD.org> <CAGH67wRL5rNskmEA2Xk=9JwQw4Wm3UbqYx55EG%2BQaZBZZ0xzsA@mail.gmail.com> <20111028094828.GA1781@trimind.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 28.10.2011 13:48, Sascha Klauder wrote:
>  I've got bitten by this as well when trying a source up-
> grade of a freshly installed 8.2-RELEASE system that had
> gmirror configured after installation according to the 
> procedure in the Handbook.
> 
>  The 9.0-RC1 kernel drops to the mountroot prompt when
> booting with
> 
>  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.
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.

-- 
WBR, Andrey V. Elsukov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EAF9E67.4040605>