tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: SAS scsibus target numbering



On Thu, Jul 26, 2012 at 02:33:15PM +0200, Edgar Fu? wrote:
> I have a (mpt) SAS with seven discs connected.
> The discs attach as sd0..sd6, but the SCSI target numbers are 0..5 and 7.
> It appears to me that someone is skippig ID 6 for the controller.
> It doesn't hurt too much, but it took me a while to find out why detaching 
> targets 2, 3, 4 and 5 worked and 6 didn't (of course, 7 worked).

The disks are simply enumerated in sequence, starting from 0, as
they are discovered during autoconfig.  If you want a particular
target on a particular bus to probe as a particular sd unit,
you must enforce this in your kernel config file, for
example:

scsibus0 at mpt*
sd0 at scsibus0 id 0
sd1 at scsibus0 id 1

etc.

Thor


Home | Main Index | Thread Index | Old Index