help number disks via /boot/device.hints

Adam Vande More amvandemore at gmail.com
Tue Dec 15 17:35:21 UTC 2015


On Tue, Dec 15, 2015 at 11:10 AM, Anton Shterenlikht <mexas at bris.ac.uk>
wrote:

> >
> >man 4 cam
>
> After some trial and error I figured out that this seems to work:
>
> hint.scbus.0.at="mpt0"
> hint.scbus.1.at="isp0"
>
> which gives:
>
> da1 at isp0 bus 0 scbus1 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)
> da0 at mpt0 bus 0 scbus0 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)
>
> and:
>
> # camcontrol devlist all
> <IBM-ESXS MAY2073RC T107>          at scbus0 target 2 lun 0 (pass0,da0)
> <COMPAQ MSA1000 4.32>              at scbus1 target 0 lun 0 (pass1)
> <COMPAQ MSA1000 VOLUME 4.32>       at scbus1 target 0 lun 5 (pass2,da1)
> <TEAC DW-224SL-R 1.0B>             at scbus2 target 0 lun 0 (pass3,cd0)
>
> But I see in dmesg:
>
> Ambiguous scbus configuration for mpt0 bus 1, cannot wire down.
> The kernel config entry for scbus0 should specify a controller bus.
> Scbus will be assigned dynamically.
>

I think you also want to add at least:

hint.scbus.0.bus="0"


-- 
Adam


More information about the freebsd-questions mailing list