[3448] in linux-scsi channel archive
Re: Name assignation of scsi devices
daemon@ATHENA.MIT.EDU (Juergen Gaertner)
Wed Mar 4 09:22:49 1998
Date: Wed, 04 Mar 1998 15:08:48 +0100
From: Juergen Gaertner <gaertner@mbox.si.uni-hannover.de>
To: Mr LEROY christophe <leroy@meg.fr>
CC: selva@sqdp.trc-net.co.jp, linux-scsi@vger.rutgers.edu
Mr LEROY christophe schrieb:
>
> >
...
> >
>
> I think you've not understand what I said :
>
> I've a disk on target 0, one on target 1 and one on target 5
> At boot time, t0 is assigned /dev/sda, t1 is assigned /dev/sdb and t5 is
> assigned /dev/sdc
>
> If i add a disk on target 3, it becomes /dev/sdc and t5 becomes /dev/sdd
>
> If my t0 and t1 are mirrors (raid1)
> If t1 goes on fire, t5 becomes /dev/sdb, so mdadd thinks it has to mirror t0 on
> t5
>
Think this is a "more-step" process:
first, scsi gathers all cards and if you have multiple cards of same
type, the driver of that card type collects all cards of the same type.
If PCI, this is often done by a loop which index is detemined by the PCI
code. Then, scsi code sorts the different types of devices (sd, sr, scd
etc) and assigns device numbers (sda sdb sdc etc.). I remarqued that if
I have two disks on cards of the same (driver-)type, pci_index0 gets
sda, pci_index1 gets sdb.
Is this right???
Gärti
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu