Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2004 11:15:18 +0200
From:      Shaun Courtney <shaun@vine.co.za>
To:        current@freebsd.org
Subject:   Re: race between geom and root mount
Message-ID:  <20040921091518.GA41430@gvmail.vine.co.za>
In-Reply-To: <20040921075306.GA35481@zibbi.icomtek.csir.co.za>
References:  <20040920170724.GA9605@zibbi.icomtek.csir.co.za> <20040920173224.GJ88658@darkness.comp.waw.pl> <20040921061110.GA33071@zibbi.icomtek.csir.co.za> <20040921072221.GC93460@darkness.comp.waw.pl> <20040921075306.GA35481@zibbi.icomtek.csir.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I've been trying to do much the same on similar hardware. The problem
I have is I've tried gmirror on ad0, ad0a and ad0s1a and I just can't
get the thing to work. Do you have any pointers that will make my task a
little less painful!

I'm trying to create a mirror (RAID1) /, swap (if possible) and /usr
setup. I've got two identical disks - which I've left a few megs (6)
free at the end of each. 

Can you give me some help on what you did to get it up and running,
I've got 5.3-BETA4 - cvsuped to BETA5.

Thanks,

Shaun

P.S. Is geom_mirror the best route to go, I've tried gvinum and vinum
(not sure of its support on 5.3?)


On Tue Sep 21 09:53:06 2004 John Hay wrote:
> On Tue, Sep 21, 2004 at 09:22:21AM +0200, Pawel Jakub Dawidek wrote:
> > On Tue, Sep 21, 2004 at 08:11:10AM +0200, John Hay wrote:
> > +> > Maybe you're a victim of the problem which was just fixed in -CURRENT.
> > +> > Could you try g_mirror.c rev. 1.27 and g_label.c rev. 1.10?
> > +> 
> > +> I have built a RELENG_5 kernel with g_mirror.c 1.28 and g_label.c 1.11,
> > +> but it still does the same. I booted over a serial console and here is
> > +> the capture of a boot -v. The order of the last few lines is a little
> > +> different when booting using a serial and vga console, but neither
> > +> works. :-) With a vga console some of the GEOM messages arrive after
> > +> the Mounting Root message. On both some of the last messages are pretty
> > +> garbled.
> > 
> > Not sure how can I help now. This is a new issue, but there is quite simlar
> > issue already: when one of the mirror's components is down, root file
> > system also can't be mounted, because gmirror waits some time for all
> > components to come.
> > 
> > I've a patch which should solve your problem:
> > 
> > 	http://people.freebsd.org/~pjd/patches/root_mount.patch
> > 
> > but it is not going to be committed, as phk asked me to hold on, he will
> > provide some more complete solution.
> 
> Yes, you are right, this patch does solve my problem. I'll keep it in
> my local tree for now.
> 
> Thanks.
> 
> John
> -- 
> John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Shaun Courtney

--
Grapevine Interactive 
Research and Development
+27 82 371 2046 
+27 21 702 3333



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