How to make boot wait a few seconds more for device response?

Ian Lepore ian at FreeBSD.org
Sat Jan 4 22:12:23 UTC 2014


On Sat, 2014-01-04 at 16:37 -0500, kpneal at pobox.com wrote:
> On Sat, Jan 04, 2014 at 06:10:54PM +0700, Eugene Grosbein wrote:
> > On 04.01.2014 14:11, Thomas Mueller wrote:
> > > How do I make boot wait a few seconds more if it can't mount the root device immediately?
> > 
> > Just add to your /boot/loader.conf:
> > 
> > kern.cam.boot_delay="10000"
> > 
> > The value counts miliseconds.
> 
> In my case I tried this and it didn't do what I needed. I'm pretty sure I
> remember that it delayed some of the scanning. What I needed was to delay
> the mounting of root until all devices have been attached. That's different.
> 
> So, no, this doesn't fix my problem at least.

I think vfs.mountroot.timeout is the tunable that gets the effect you
want.  It defaults to 3 seconds.

-- Ian




More information about the freebsd-stable mailing list