Re: gmirror help

From: Christian Hiris <4711_at_chello.at>
Date: Mon, 1 Nov 2004 03:50:20 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 01 November 2004 03:08, Tommi Lätti wrote:
> I just started using gmirror and I'm booting from it. What strikes me
> odd is that there is some error messages in messages.log:
>
> ad4: 35304MB <WDC WD360GD-00FNA0/35.06K35> [71730/16/63] at ata2-master
> SATA150
> GEOM_MIRROR: Device mirror0 created (id=3031340501).
> GEOM_MIRROR: Device mirror0: provider ad4 detected.
> ad6: 35304MB <WDC WD360GD-00FNA0/35.06K35> [71730/16/63] at ata3-master
> SATA150
> GEOM_MIRROR: Cannot add disk ad4s1 to mirror0 (error=17).
> GEOM_MIRROR: Cannot add disk ad4c to mirror0 (error=17).
> GEOM_MIRROR: Cannot add disk ad4f to mirror0 (error=17).
> GEOM_MIRROR: Device mirror0: provider ad6 detected.
> GEOM_MIRROR: Device mirror0: provider ad6 activated.
> GEOM_MIRROR: Device mirror0: provider mirror/mirror0 launched.
> GEOM_MIRROR: Device mirror0: rebuilding provider ad4.
> GEOM_MIRROR: Cannot add disk ad6s1 to mirror0 (error=17).
> GEOM_MIRROR: Cannot add disk ad6c to mirror0 (error=17).
> GEOM_MIRROR: Cannot add disk ad6f to mirror0 (error=17).
> GEOM_MIRROR: Cannot add disk ad6s1c to mirror0 (error=17).
> GEOM_MIRROR: Cannot add disk ad6s1f to mirror0 (error=17).
> SMP: AP CPU #1 Launched!
> Mounting root from ufs:/dev/mirror/mirror0s1a
>
> and after booting the mirror is in DEGRADED mode:

If you run a swap partition on your mirror, you need to add swapoff="YES" to 
your /etc/rc.conf. I also had to change gdm to use 'shutdown -r now' instead 
of reboot. 

The "error=17" messages look like there are some old entries left in your 
disklabels. 

Cheers,
ch

- -- 
Christian Hiris <4711_at_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)

iD8DBQFBhaSC09WjGjvKU74RAmRBAJ9QWpXGg5itTawsZWt4WCaSzyfU/QCfQsAn
OkBga/FSBoJJGGCRxJPDg18=
=d08B
-----END PGP SIGNATURE-----
Received on Mon Nov 01 2004 - 01:50:45 UTC

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