Re: gmirror failed with error 19.

From: Sascha Klauder <sascha_at_trimind.de>
Date: Thu, 3 Nov 2011 12:50:54 +0100
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
Received on Thu Nov 03 2011 - 10:51:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:19 UTC