Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Aug 2004 11:46:12 -0400
From:      John Baldwin <jhb@FreeBSD.org>
To:        freebsd-arch@FreeBSD.org
Cc:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Subject:   Re: Mounting root...
Message-ID:  <200408231146.12972.jhb@FreeBSD.org>
In-Reply-To: <20040823073559.GP30151@darkness.comp.waw.pl>
References:  <20040823073559.GP30151@darkness.comp.waw.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 23 August 2004 03:35 am, Pawel Jakub Dawidek wrote:
> Hi.
>
> MIRROR GEOM class was introduced recently and it allows to setup root
> file system on a mirror device, but there is a small problem.
>
> If mirror starts without one component, it waits few seconds
> (kern.geom.mirror.timeout) for missing components before creating provider.
> Because of this root file system can't be mounted properly.
>
> I'm not sure how to fix this.
>
> The easiest way is to just put some timeout and check every one second
> if we already have our provider.
>
> I don't know, anyone have some better solution which can be implemented
> and merged to RELENG_5 before 5.3?

Why not have mirror create the provider instantly in an degraded state as soon 
as one disk shows up and then change from degraded back to full when the 
second disk finally arrives?  Isn't this the same case as someone jerking the 
disk out at run time and then shoving it (or a new one) back in without 
rebooting?

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



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