E Assignment of SCSI Bus Numbers for SunOS 4.x





This appendix provides SCSI bus numbers for SunOS 4.x operating systems. See the handbook that came with your peripheral for information about SCSI bus numbers for Solaris 2.x operating systems.

E.1 SCSI Bus Numbers Assignment for Multiple SCSI Controllers

The on-board SCSI bus is called scsibus0. SBus expansion SCSI controllers are named scsibus1, scsibus2, scsibus3, and scsibus4. These names are used internal to the kernel configuration and in the OpenBoot PROM. Busses 1 through 4 are named based on the order they are found by the OpenBoot PROM when probing the SBus slots. Slots are probed in this order: on-board, slot0, slot1, slot2, slot3. As each SCSI controller is found, it is given the next available name.

Note - The disks and tapes on a particular SCSI controller are assigned names based on the kernel configuration file. This is important because the disk and tape names could be changed if a user adds a new SCSI controller in a slot previously probed.

    Table E-1 SCSI Device Unit Assignments

Assignment Device

scsibus0 at esp # declare first scsi bus
disk sd0 at scsibus0 target 3 lun 0 # first hard SCSI disk
disk sd1 at scsibus0 target 1 lun 0 # second hard SCSI disk
tape st2 at scsibus0 target 1 lun 0 # third SCSI tape
disk sr2 at scsibus0 target 1 lun 0 # third CD-ROM device
disk sd2 at scsibus0 target 2 lun 0 # third hard SCSI disk
disk sd3 at scsibus0 target 0 lun 0 # fourth hard SCSI disk
tape st3 at scsibus0 target 0 lun 0 # fourth SCSI tape
disk sr3 at scsibus0 target 0 lun 0 # fourth CD-ROM device
tape st0 at scsibus0 target 4 lun 0 # first SCSI tape
disk sd16 at scsibus0 target 5 lun 0 # fifth hard SCSI disk
tape st1 at scsibus0 target 5 lun 0 # second SCSI tape
disk sr1 at scsibus0 target 5 lun 0 # second CD-ROM device
disk sr0 at scsibus0 target 6 lun 0 # first CD-ROM device

scsibus1 at esp # declare second scsi bus
disk sd4 at scsibus1 target 3 lun 0 # sixth hard SCSI disk
disk sd5 at scsibus1 target 1 lun 0 # seventh hard SCSI disk
disk sd6 at scsibus1 target 2 lun 0 # eighth hard SCSI disk
disk sd7 at scsibus1 target 0 lun 0 # ninth hard SCSI disk
tape st4 at scsibus1 target 4 lun 0 # fifth SCSI tape
tape st5 at scsibus1 target 5 lun 0 # sixth SCSI tape
disk sr4 at scsibus1 target 6 lun 0 # fifth CD-ROM device

scsibus2 at esp # declare third scsi bus
disk sd8 at scsibus2 target 3 lun 0 # tenth hard SCSI disk
disk sd9 at scsibus2 target 1 lun 0 # eleventh hard SCSI disk
disk sd10 at scsibus2 target 2 lun 0 # twelfth hard SCSI disk
disk sd11 at scsibus2 target 0 lun 0 # thirteenth hard SCSI disk

scsibus3 at esp # declare fourth scsi bus
disk sd12 at scsibus3 target 3 lun 0 # fourteenth hard SCSI disk
disk sd13 at scsibus3 target 1 lun 0 # fifteenth hard SCSI disk
disk sd14 at scsibus3 target 2 lun 0 # sixteenth hard SCSI disk
disk sd15 at scsibus3 target 0 lun 0 # seventeenth hard SCSI disk
tape st6 at scsibus3 target 4 lun 0 # seventh SCSI tape
tape st7 at scsibus3 target 5 lun 0 # eighth SCSI tape
disk sr5 at scsibus3 target 6 lun 0 # sixth CD-ROM device

Table E-1 SCSI Device Unit Assignments (Continued)

Assignment Device

scsibus4 at esp # declare fifth scsi bus
disk sd17 at scsibus4 target 3 lun 0 # eighteenth hard SCSI disk
disk sd18 at scsibus4 target 1 lun 0 # nineteenth hard SCSI disk
disk sd19 at scsibus4 target 2 lun 0 # twentieth hard SCSI disk
disk sd20 at scsibus4 target 0 lun 0 # twenty first hard SCSI disk