Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Nov 2004 12:05:54 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Michael Riexinger <michael.riexinger@de.clara.net>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: gmirror problems
Message-ID:  <20041108110554.GZ8120@darkness.comp.waw.pl>
In-Reply-To: <200411081140.57792.michael.riexinger@de.clara.net>
References:  <200411081140.57792.michael.riexinger@de.clara.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--zUOaI4FcYSvHUUu9
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Nov 08, 2004 at 11:40:57AM +0100, Michael Riexinger wrote:
+> Hi,=20
+>=20
+> I set up FreeBSD 5.3 with gmirror for my 2 ide disks ad0 and ad1. So the=
=20
+> rootfs is included in the mirror. I wanted to test what happens when=20
+> one disk fails, so I removed ad1. Unfortunately after a reboot the=20
+> system didn't boot anymore with the error:=20
+> GEOM_MIRROR: Force device mirror0 start due to timeout=20
+> and
+> GEOM_MIRROR: Device mirror0 destroyed

Could you add:

kern.geom.mirror.debug=3D2

to your /boot/loader.conf and try to boot without ad1 again.
It should start mirror with only one component (ad0) connected after
this timeout and now it looks like it can't find any component.

+> [...] My next test was putting ad1 off and replacing it with a new=20
+> hd, did that, rebooted and again:
+>=20
+> GEOM_MIRROR: Force device mirror0 start due to timeout=20
+> and
+> GEOM_MIRROR: Device mirror0 destroyed
+>=20
+> Why is that? Shouldn't gmirror detect the new drive and rebuild the=20
+> mirror?

There is no metadata on this new disk, so it can't be just rebuilt,
you have to first add it to the mirror and ewentually remove the old one.
Look at 'remove'/'insert'/'forget' commands in gmirror(8).

--=20
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd@FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!

--zUOaI4FcYSvHUUu9
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBj1MSForvXbEpPzQRArLkAJoCTgCVyYUkM1Uxq35I6iQ4ZlT5uQCguGOV
mhT/AXv1N+WUuCw4kwU0lwY=
=Fx70
-----END PGP SIGNATURE-----

--zUOaI4FcYSvHUUu9--



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