Topic: Booting with USB Drive
Hello. I posted this at daemonforums.org, I'm posting here as well to get some more opinions if possible:
I've got an external USB drive plugged into my FreeBSD box. Once a week a script runs that backs up to it with rsync.
This is all well and good, but on very rare occasion I might need to reboot that box remotely (I ssh into it from work, for example). And when you reboot it with the usb drive plugged in, it boots to a mountroot prompt and wants me to specify, well, where to mount root!
What I believe we've determined is that when I boot with the USB drive plugged in it's mounting the USB drive first as /dev/da0. The drive that needs to be /dev/da0 is a logical RAID 5 drive on a HighPoint controller. We think that's being mounted as /dev/da1, and so FreeBSD can't find where to mount root from. (If the USB drive is NOT plugged in during boot the RAID 5 drive is mounted as /dev/da0.)
So, the question is, is there a way to mount that RAID 5 drive BEFORE FreeBSD probes USB devices? Alternately, can I force that USB drive to always mount as /dev/da1 or 2, or anything other than 0?