gmirror failed with error 19.
sascha at trimind.de
Fri Oct 28 10:28:27 UTC 2011
On Tue, 2011-10-25 12:27 -0700, Garrett Cooper wrote:
> On Tue, Oct 25, 2011 at 11:15 AM, Martin Wilke <miwi at 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
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
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:
Image of the MBR:
More information about the freebsd-current