Date: Fri, 28 Oct 2011 11:48:28 +0200 From: Sascha Klauder <sascha@trimind.de> To: Garrett Cooper <yanegomi@gmail.com> Cc: antik@bsd.ee, freebsd-geom@freebsd.org, current@freebsd.org, Martin Wilke <miwi@freebsd.org> Subject: Re: gmirror failed with error 19. Message-ID: <20111028094828.GA1781@trimind.de> In-Reply-To: <CAGH67wRL5rNskmEA2Xk=9JwQw4Wm3UbqYx55EG%2BQaZBZZ0xzsA@mail.gmail.com> References: <8453E2A2-3219-4FAA-98CE-2F9D66EA1C39@FreeBSD.org> <CAGH67wRL5rNskmEA2Xk=9JwQw4Wm3UbqYx55EG%2BQaZBZZ0xzsA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2011-10-25 12:27 -0700, Garrett Cooper wrote: > On Tue, Oct 25, 2011 at 11:15 AM, Martin Wilke <miwi@freebsd.org> wrote: > > I face the same error since upgrade from 8.2 to 9.0RC1, is there any way to fix that? > errno == 19 => ENODEV -- so the question is, what device is missing? 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) ... Trying to mount root from ufs:/dev/mirror/gm0s1a [rw]... mountroot: waiting for device /dev/mirror/gm0s1a ... Mounting from ufs:/dev/mirror/gm0s1a failed with error 19. which can be circumvented by setting the loader tunable kern.geom.part.check_integrity=0. The only immediately obvious difference I could find is that "gpart list" reports the last sector of the mirror/gm0 device different from the 8.2 kernel (490350670 vs 490350608). "gpart list" output when running the 8.2-RELEASE kernel: http://arwen.shopkeeper.de/~sascha/gpart-82 vs 9.0-RC1: http://arwen.shopkeeper.de/~sascha/gpart-90 Image of the MBR: http://arwen.shopkeeper.de/~sascha/ada0-mbr.bin Cheers, -sascha
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111028094828.GA1781>
