That won't work for the boot drive.

When no boot drive is detected early enough, the kernel goes to the
mountroot prompt.  That seems to hold a Giant lock which inhibits
further progress being made.  Sometimes progress can be made by trying
to mount unmountable partitions on other drives, but this usually goes
too fast, especially if the USB drive often times out.



We have this problem in Azure with a ZFS root, was fixed by the pacth in this bug report, which actually starts off being about USB.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208882

You can then set the mountroot timeout as normal and it works.

I wold really like this patch to be applied, but it seems to have languished since last summer. We use this as standard on all our cloud machines now, and it works very nicely.

-pete.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"

Reply via email to