mounting USB drive at boot

Konstantin Belousov kostikbel at gmail.com
Thu Feb 9 19:59:04 UTC 2017


On Thu, Feb 09, 2017 at 12:37:39PM -0700, Ian Lepore wrote:
> On Thu, 2017-02-09 at 14:14 -0500, freebsd-arm at wynn.com wrote:
> > Greeting-
> > 
> > This is probably not ARM specific, but I just brought my original
> > BeagleBone up on the freebsd current image from ftp.freebsd.org.
> > 
> > While I was pleased to discover that USB was working much better than
> > it had on 10.x for disk devices (usb flash drive in this case).  I
> > was
> > disappointed to discover that attempts to mount the drive at boot
> > would
> > fail with the drive not being present when fsck started.  
> > 
> > I tried tagging it as a late file system in fstab and of course
> > marked
> > it as second to  check after /, but no joy.  The message about da0
> > being discovered always came after the fsck failed and I was dropped
> > to
> > single user mode.
> > 
> > As a work around I set /dev/ufs/bb64 to noauto and I am running fsck
> > on
> > it and mounting it from rc.local.
> > 
> > Is there something obvious I have missed that will permit the fsck to
> > happen after the usb bus has been probed?
> > 
> > -Brett
> > 
> > _______________________________________________
> > freebsd-arm at freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> > To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org
> > "
> 
> Set kern.cam.boot_delay="10000" in /boot/loader.conf.  Tune the 10000
> as needed, it's delay in milliseconds.

Right solution after r313350 is to set
	vfs.root_mount_always_wait=1
loader tunable.  The knob should be merged to 11 in two weeks.


More information about the freebsd-arm mailing list