Re: Multiple SCSI host adapters, naming of attached devices

Andrzej Krzysztofowicz (ankry@pg.gda.pl)
Wed, 31 Jan 2001 09:31:29 +0100 (MET)


"Wolfgang Wegner wrote:"
> > Given two host adapters each with 1 disk of ID 0, how do I tell Linux which
> > is sda and which sdb?
> [...]
> which leads me to the question:
> Is there any reason for the (IMHO stupid) "dynamic" naming of
> SCSI devices (in contrast to e.g. IDE devices or the "physical"
> device naming used in Solaris)?

Yes. Shortage of 16-bit major/minor numbers.

> It may be possible always maintaining the "right" order with
> one SCSI chain, but as soon as there is a second bus, it is
> really a pain. Is devfs the only solution?

You can try:
- loading scsi drivers as modules in appropriate order (possibly using
initrd if root filesystem is located on any of them)
- using devfs names.

--
=======================================================================
  Andrzej M. Krzysztofowicz               ankry@mif.pg.gda.pl
  phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math.,   Technical University of Gdansk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/