Re: race between geom and root mount

From: Shaun Courtney <shaun_at_vine.co.za>
Date: Tue, 21 Sep 2004 11:15:18 +0200
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_at_icomtek.csir.co.za / jhay_at_FreeBSD.org
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Shaun Courtney

--
Grapevine Interactive 
Research and Development
+27 82 371 2046 
+27 21 702 3333
Received on Tue Sep 21 2004 - 07:15:25 UTC

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