Date: Mon, 11 Oct 2004 16:13:42 +0200 From: Christian Hiris <4711@chello.at> To: Chris Elsworth <chris@shagged.org> Cc: freebsd-current@freebsd.org Subject: Re: RAID1 with gmirror Message-ID: <200410111613.58703.4711@chello.at> In-Reply-To: <20041011132606.GA86235@shagged.org> References: <20041010110159.GA91160@pcs28.suedfactoring.de> <200410110026.03777.4711@chello.at> <20041011132606.GA86235@shagged.org>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 11 October 2004 15:26, Chris Elsworth wrote: > On Mon, Oct 11, 2004 at 12:25:46AM +0200, Christian Hiris wrote: > > > 4) bsdlabel -e ad0 [taking into account the new 16 byte offset] > > > > I never read about the new offset - until now I had no time to study the > > gmirror code. Where did you find this interresting information? > > Here (and related thread): > http://lists.freebsd.org/pipermail/freebsd-geom/2004-September/000313.html Thanks! > No, I get the mirrors breaking on startup too. I believe this is fixed > in -CURRENT but is pending a MFC into RELENG_5 to fix. I could solve this on my systems: I run a patched version of g_mirror.c. The patch was posted for RELENG_5 testing by Pawel and it seems that things work fine w/ his patch. Hopefully I will report his patch working tonight. http://people.freebsd.org/~pjd/patches/gmirror.2.patch The main reason for the root-mirror breakages on my systems was that gdm uses the 'reboot' command by default, which makes no use of the swapoff command. So the swap-devices had been left with the DIRTY flag. When I use the 'shutdown -r' command instead of 'reboot' all mirrors start in ACTIVE state after rebooting the system. - -- Christian Hiris <4711@chello.at> | OpenPGP KeyID 0x3BCA53BE OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBapUm09WjGjvKU74RAlaYAJ9hBpcXIuGeFzYN9v04r52r7s5UCwCfS0ja vmH2iWT7Mh4JF7wNTB9iJHY= =iaGY -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410111613.58703.4711>