help number disks via /boot/device.hints

Anton Sayetsky vsasjason at gmail.com
Fri Dec 4 10:54:34 UTC 2015


2015-12-04 12:47 GMT+02:00 Anton Shterenlikht <mexas at bris.ac.uk>:
> I've a problem - when the fibre disks are connected
> at boot, the boot disk is not given da0 and I cannot boot.
> So what I do now is disconnect the fiber disk until boot
> is completed, and connect is manually afterwards.
>
> Then I get:
>
> da0 at mpt0 bus 0 scbus3 target 2 lun 0
> da0: <IBM-ESXS MAY2073RC T107> Fixed Direct Access SPC-3 SCSI device
> da0: Serial Number B399P790FBEG
> da0: 300.000MB/s transfers
> da0: Command Queueing enabled
> da0: 70006MB (143374000 512 byte sectors: 255H 63S/T 8924C)
>
> da1 at isp0 bus 0 scbus2 target 0 lun 5
> da1: <COMPAQ MSA1000 VOLUME 4.32> Fixed Direct Access SPC-2 SCSI device
> da1: Serial Number P56350GX3RX04Z
> da1: 200.000MB/s transfers WWNN 0x500805f3000ec220 WWPN 0x500805f3000ec221 PortID 0x10000
> da1: Command Queueing enabled
> da1: 140011MB (286744185 512 byte sectors: 255H 63S/T 17849C)
>
> How can I set in /boot/device.hints that the MSA1000
> disk is da1 and IBM is the boot disk da0?
It does not matter what number assigned to disk with FreeBSD. You
should setup correct boot order in BIOS/UEFI and/or controller
firmware.
AFAIK Assigning fixed number to disks is not possible.


More information about the freebsd-questions mailing list