From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,4dd77b2bc06fb3bd X-Google-Attributes: gidfee84,public From: John Hill Subject: Re: Adding a new disk and SCSI controller Date: 1999/07/27 Message-ID: <379DBAA1.28D@cern.ch>#1/1 X-Deja-AN: 505794481 Content-Transfer-Encoding: 7bit References: <379D5F42.2781@dnr.qld.gov.au> Content-Type: text/plain; charset=us-ascii X-Complaints-To: news@sunnews.cern.ch X-Trace: sunnews.cern.ch 933083808 6072 (None) 137.138.243.131 Organization: CERN - European Laboratory for Particle Physics Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 Keith Moodie wrote: > > Hi, > > We have added a second SCSI controller to a Digital Personal Workstation > 433au running 4.0D > > There is one RAID controller on this bus at SCSI Id 1 > > My problem is how do I find out what /dev/rz... to MAKEDEV > > Devices on the 1st SCSI controller as shown by scu are > > scu> scan edt > Scanning all available buses, please be patient... > show scu> edt > > CAM Equipment Device Table (EDT) Information: > > Device: CD-ROM XM-6102B Bus: 0, Target: 0, Lun: 0, Type: Read-Only > Direct Access > Device: RZ1CC-BA Bus: 2, Target: 0, Lun: 0, Type: Direct Access > Device: VIPER-F2 Bus: 2, Target: 1, Lun: 0, Type: Direct Access > Device: VIPER-F2 Bus: 2, Target: 1, Lun: 1, Type: Direct Access > Device: ST19101W Bus: 2, Target: 2, Lun: 0, Type: Direct Access > Device: ST423451W Bus: 2, Target: 3, Lun: 0, Type: Direct Access > > The above devices are showing as rz0, rz16, rz17, rzb17, rz18, rz19 > respectivly > > -- > > Keith Moodie, > EMail: moodiek@dnr.qld.gov.au The magic calculation is bus*8+target, eg. bus = 0, target = 0 ==>rz0 bus = 2, target = 1 ==>rz17 Target = SCSI ID in case you were confused. So, I'd expect devices on bus 1 to be rz8-rz15, depending on the SCSI IDs in use. Regards, John Hill