geom mirror problem

John Hay jhay at icomtek.csir.co.za
Wed Oct 6 23:51:31 PDT 2004


On Thu, Oct 07, 2004 at 07:52:09AM +0200, Pawel Jakub Dawidek wrote:
> On Wed, Oct 06, 2004 at 09:54:28PM +0200, John Hay wrote:
> +> Hi,
> +> 
> +> I have been trying to setup a geom mirror on this machine but each time
> +> I reboot geom gives an error and only use one disk. Anybody know where
> +> I should look? I have two other machines that work properly. :-/
> +> 
> +> Anyway here are some more detail. I'm running the latest RELENG_5 with
> +> Pawel's with g_mirror.c v 1.34 and 1.35 from current applied. After
> +> syncing and rebooting I see these messages:
> [...]
> 
> Is this 5.3 or 6-CURRENT?

I guess "latest RELENG_5 with ... g_mirror.c v 1.34 and 1.35 from current"
makes it somewhere past 5.3-beta7, but not current. :-)

> Could you try this patch:
> 
> 	http://people.freebsd.org/~pjd/patches/gmirror.patch

I did, but it does not boot, it stops with a mountroot> prompt. Hand
written it looks something like this:

#######################################################
GEOM_MIRROR: Device gm0 created (id=861616013)
GEOM_MIRROR: Device gm0: provider ad0 detected
GEOM_MIRROR: Device gm0: provider ad2 detected
Mounting root from ufs:/dev/mirror/gm0s1a
setrootbyname failed
Root mount failed: 6
Manual root filesystem specification
...
mountroot>
#######################################################

John
-- 
John Hay -- John.Hay at icomtek.csir.co.za / jhay at FreeBSD.org


More information about the freebsd-current mailing list