Fixing (scsi) drives at particular /dev locations

Matthew Seaman m.seaman at
Sun Mar 7 03:59:50 PST 2004

On Sat, Mar 06, 2004 at 10:53:17PM -0500, scion+fbsdq at wrote:
> FreeBSD 5.2.1; Sun/Cobalt LX50; GENERIC kernel
> Greetings,
> The darned LX50 is wired with the first SCSI bus out the back,
> and the second toward the builtin drives.  So, upon adding an
> external drive, the internal drives all renumber with the generic
> kernel+device hints.
> I thought adding a line to /boot/device.hints might work, so
> reading /usr/src/sys/i386/conf/gethints.awk for clues, I added:

Close, but no cigar.  See the section on "SCSI DEVICE CONFIGURATION"
in /usr/src/sys/conf/NOTES.  What you want is:"ahc1""ahc0""scbus0""0"

which swaps the ordering of the SCSI busses, and wires down da0 to bus
0, target 0, LUN 0.  You could probably get away with just the first
two lines, as the rest should be the default anyhow.



Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP:         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list