Date: Mon, 8 Nov 2004 12:55:06 +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: <20041108115506.GB8120@darkness.comp.waw.pl> In-Reply-To: <200411081247.39449.michael.riexinger@de.clara.net> References: <200411081140.57792.michael.riexinger@de.clara.net> <20041108110554.GZ8120@darkness.comp.waw.pl> <200411081247.39449.michael.riexinger@de.clara.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--DvpQYQy10PodzGf7 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 08, 2004 at 12:47:38PM +0100, Michael Riexinger wrote: +> On Monday 08 November 2004 12:05, Pawel Jakub Dawidek wrote: +> > On Mon, Nov 08, 2004 at 11:40:57AM +0100, Michael Riexinger wrote: +> > +> Hi, +> > +> +> > +> I set up FreeBSD 5.3 with gmirror for my 2 ide disks ad0 and ad1. +> > So the +> rootfs is included in the mirror. I wanted to test what +> > happens when +> one disk fails, so I removed ad1. Unfortunately after +> > a reboot the +> system didn't boot anymore with the error: +> > +> GEOM_MIRROR: Force device mirror0 start due to timeout +> > +> 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. +> Ok, done that: +>=20 +> the messages are: +> GEOM_MIRROR[2]: Tasting ad0. +> magic: GEOM::MIRROR +> version: 1 +> name: mirror0 +> did: 1626481947 +> all: 2 +> syncid: 1 +> priority: 0 +> slice: 4096 +> balance: load +> mediasize: 20485785088 +> vectorsize: 512 +> syncoffset: 1297612800 +> mflags: NONE +> dflags: DIRTY SYNCHONIZING Ok, everything is clear now. You disconnected ad1, but ad0 was marked for synchronization. It that case gmirror cannot find any valid component, because the only one it can find is stale. So: 1. You should test it when mirror is in complete state (then you can remove any component). 2. You can remove ad0 and put ad1 to make your test. +> GEOM_MIRROR[2]: Tasting ad0s1b. If you have swap partition on your mirror, don't forget to add swapoff=3D"Y= ES" to you rc.conf and use shutdown(8) command to reboot your machine. --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --DvpQYQy10PodzGf7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBj16aForvXbEpPzQRAhcPAKDrJISUnSHTDuMKJdDjdGXrOSJkFwCcDecd CQvK3uM3/zP6UaqUuq26g1g= =nA16 -----END PGP SIGNATURE----- --DvpQYQy10PodzGf7--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041108115506.GB8120>