Mounting root...
John Baldwin
jhb at FreeBSD.org
Mon Aug 23 11:10:01 PDT 2004
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 at FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
More information about the freebsd-arch
mailing list