pluggin fibre moves boot disk from da0 to da1 = cannot mountroot

Graham Allan allan at physics.umn.edu
Thu Jul 30 15:00:12 UTC 2015


Yes, we used to run into this a lot with certain servers where an add-in 
HBA took precedence over the onboard controller hosting the OS drive.

You can hardwire the scsi bus in /boot/device.hints with something like:

hint.scbus.0.at="mpt0"

Graham

On 7/30/2015 7:35 AM, Anton Shterenlikht wrote:
> I think I asked this before, but cannot
> find the answer in the archives.
> This server has a single scsi disk, da0.
> I can boot fine.
>
> I then plug in a fibre card and attach
> a fibre disk, which I want to be da1,
> so that I can boot as normal.
>
> However, now the boot stops at mountroot>
> because apparently fibre is identified as da0
> and the scsi disk as da1, and I cannot
> boot from da0 anymore.
>
> What is the solution to this?
> Is there some device.hint option to say
> that fibre must be after the scsi disk?
> Or maybe some fibre delay, long enough
> to ensure it's found only after root
> has been mounted?
>
> Thanks
>
> Anton
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list