Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Nov 2004 03:50:20 +0100
From:      Christian Hiris <4711@chello.at>
To:        freebsd-current@freebsd.org
Cc:        current@freebsd.org
Subject:   Re: gmirror help
Message-ID:  <200411010350.42241.4711@chello.at>
In-Reply-To: <41859A97.4000703@iki.fi>
References:  <41859A97.4000703@iki.fi>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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@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-----



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