FOLLOW-UP : Solaris Controlers numbering
2007-12-25 3:50:00
- Lucien & Nicolas who suggested that controlers numbers are "assigned
in order of discovery" and "gets incremented when a driver (or controller)
is added"
- Bill for a good link about device mapping (unfortunately it doesn't
say anything about controler numbers) :
http://developers.sun.com/solaris/articles/devicemapping.html
<http://developers.sun.com/solaris/articles/devicemapping.html>
To go a little further, here is a sample /etc/path_to_inst, whith all
installed HBA in the exact order as they appear in /etc/path_to_inst.
The controler number is added at the bottom of each active (i.e. with disks)
controler with "==>" marks.
I still don't understand why the controlers are numbered 0,1,2, then
14,15,17,18.
Why did Solaris skip the numbers 3 to 13 ? Maybe they were "reserved" for
inactive controlers (they silently keep theses numbers is case of disk being
connected) ?
Why is lpfc instance 2 numbered c18, as instance 3 is numbered lower (c17) ?
"/pci at aa,2000/fibre-channel at 1" 1 "lpfc" ==> c15
"/pci at 88,2000/fibre-channel at 1" 0 "lpfc" ==> c14
"/pci at c5,2000/fibre-channel at 1" 3 "lpfc" ==> c17
"/pci at c4,2000/fibre-channel at 1" 2 "lpfc" ==> c18
"/pci at c4,4000/scsi at 3,1" 9 "glm"
"/pci at c4,4000/scsi at 4,1" 7 "glm"
"/pci at c4,4000/scsi at 3" 8 "glm"
"/pci at c4,4000/scsi at 4" 6 "glm" ==> c2
"/pci at aa,4000/scsi at 4,1" 5 "glm"
"/pci at aa,4000/scsi at 4" 4 "glm" ==> c1
"/pci at 88,4000/scsi at 2,1" 3 "glm"
"/pci at 88,4000/scsi at 4,1" 1 "glm"
"/pci at 88,4000/scsi at 4" 0 "glm" ==> c0
"/pci at 88,4000/scsi at 2" 2 "glm"
"/pci at ee,4000/scsi at 4" 10 "glm"
"/pci at ee,4000/scsi at 4,1" 11 "glm"
"/pci at ee,4000/fibre-channel at 2" 4 "lpfc"
"/pci at ee,2000/fibre-channel at 1" 5 "lpfc"
"/pci at cc,4000/scsi at 4" 12 "glm"
"/pci at cc,4000/scsi at 4,1" 13 "glm"
"/pci at cc,2000/fibre-channel at 1" 6 "lpfc"
"/pci at cd,2000/fibre-channel at 1" 7 "lpfc"
"/pci at a2,4000/scsi at 4" 14 "glm"
"/pci at a2,4000/scsi at 4,1" 15 "glm"
"/pci at a2,4000/fibre-channel at 3" 8 "lpfc"
"/pci at a2,2000/fibre-channel at 1" 9 "lpfc"
--
Sebastien DAUBIGNE
Sebastien.daubigne at atosorigin.com <mailto:Sebastien.daubigne at atosorigin.com>
+33(0)5.57.26.56.36
AtosOrigin - ERP/Pessac
-----Message d'origine-----
De: DAUBIGNE Sebastien - BOR
Date: vendredi 13 ao{t 2004 14:08
@: 'codeprof at codeprof.com'
Objet: Solaris Controlers numbering
Hi,
Do one of you know how does Solaris (8) compute controlers numbers in
/dev/[r]dsk ?
I now that drivers instances are in /etc/path_to_inst, but I don't
understand how does Solaris maps it to controlers numbers, and if that can
be modified.
For instance, I have :
- "/pci at 88,2000/fibre-channel at 1 <mailto:/pci at 88,2000/fibre-channel at 1>
" which is instance 0 of driver "lpfc" in /etc/path_to_inst, but is numbered
as "c14" in /dev/dsk,
- "/pci at aa,2000/fibre-channel at 1 <mailto:/pci at aa,2000/fibre-channel at 1>
" which is instance 1 of driver "lpfc" in /etc/path_to_inst, but is numbered
as "c15" in /dev/dsk,
Is there any file that maintains the mapping ?
Thanks in advance.
--
Sebastien DAUBIGNE
Sebastien.daubigne at atosorigin.com <mailto:Sebastien.daubigne at atosorigin.com>
+33(0)5.57.26.56.36
AtosOrigin - ERP/Pessac
Comments
Got something to say?
You must be logged in to post a comment.

