Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Re: Adding a new disk and SCSI controller
  1999-07-27  4:00 Adding a new disk and SCSI controller Keith Moodie
  1999-07-27  4:00 ` Adding a new disk and SCSI controller - extra info Keith Moodie
  1999-07-27  4:00 ` Adding a new disk and SCSI controller John Hill
@ 1999-07-27  4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  1999-07-27  4:00 ` Adam Price
  1999-07-29  4:00 ` Keith Moodie
  4 siblings, 0 replies; 7+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1999-07-27  4:00 UTC (permalink / raw)



In article <379D5F42.2781@dnr.qld.gov.au>, Keith Moodie <moodiek@dnr.qld.gov.au> writes:

>We have added a second SCSI controller to a Digital Personal Workstation
>433au running 4.0D

While you don't have to rebuild the kernel to add disks or tapes
to an existing SCSI adapter, you do have to rebuild the kernel
for a new SCSI adapter.  You can try to edit the configuration
file by hand if you know the PCI bus and slot the new adapter is
in or you can just boot genvmunix and let doconfig write a new
configuration file for you.

While the generic kernel is booting, you'll want to watch the
boot messages to make sure the new adapter hasn't changed the
device numbering of the existing devices.  Once the kernel knows
to look for the new adapter, it will find whatever tapes and
disks are on it and in V4 will create the appropriate special
files.

>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

The RAID behaves reasonably, the devices should be created for
you when the system boots.
>

>-- 
>
>Keith Moodie, 
>EMail: moodiek@dnr.qld.gov.au
>
--
Alan Rollow				alan@nabeth.cxo.dec.com




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Adding a new disk and SCSI controller
@ 1999-07-27  4:00 Keith Moodie
  1999-07-27  4:00 ` Adding a new disk and SCSI controller - extra info Keith Moodie
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Keith Moodie @ 1999-07-27  4:00 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Adding a new disk and SCSI controller - extra info
  1999-07-27  4:00 Adding a new disk and SCSI controller Keith Moodie
@ 1999-07-27  4:00 ` Keith Moodie
  1999-07-27  4:00 ` Adding a new disk and SCSI controller John Hill
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: Keith Moodie @ 1999-07-27  4:00 UTC (permalink / raw)


Hi,
 
We have added a second SCSI controller to a Digital Personal Workstation
433au running 4.0D


The SCSI controller is a Digital KZPBA CA PCI to  Ultra-SCSI Host
Adaptor
There is one RAID controller on this bus at SCSI Id 1
 
The RAID controller shows up during boot and can also be seen by doing a
show config from the console >>> prompt
So it appears that the SCSI controller and RAID controller are OK


My question is, how do I find out what /dev/rz... to MAKEDEV  ?
and are there any other things I have to do   ?


I have tried ./MAKEDEV -wr -n rz21
and also rz20 rz22 rz24 rz25 rz26 rz27 rz32 rz33 rz34
but for each of these disklabel returns an error
 eg > disklabel -wr -n /dev/rrz32a
disklabel: /dev/rrz34a: No such device or address



Background info: 
Devices on the 1st SCSI controller as shown by scu are
(NB the two VIPER-F2 are RAID arrays similar to the one I am trying to
add)
I think that the second SCSI should show but it isn't.
 
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 

 
Thanks in advance for any assistance


--

Keith Moodie,
EMail: moodiek@dnr.qld.gov.au



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Adding a new disk and SCSI controller
  1999-07-27  4:00 Adding a new disk and SCSI controller Keith Moodie
                   ` (2 preceding siblings ...)
  1999-07-27  4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 1999-07-27  4:00 ` Adam Price
  1999-07-27  4:00   ` Adam Price
  1999-07-29  4:00 ` Keith Moodie
  4 siblings, 1 reply; 7+ messages in thread
From: Adam Price @ 1999-07-27  4:00 UTC (permalink / raw)



Keith Moodie wrote in message <379D5F42.2781@dnr.qld.gov.au>...
>Hi,

Hi,
<Snip>
>
>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
<SNIP>

The calculation for X in MAKEDEV rzX is
Bus * 8 + Target

eg.
the atapi cd-rom drive is on bus 0 target 0
Therefore  to make special device file for
cd= rz(0*8+0) = rz0 therefore in /dev , ./MAKEDEV rz0

Second eg.
Hard Drive type RZ1CC-BA = rz(2*8+0) = rz16

Hope this helps
Adam






^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Adding a new disk and SCSI controller
  1999-07-27  4:00 Adding a new disk and SCSI controller Keith Moodie
  1999-07-27  4:00 ` Adding a new disk and SCSI controller - extra info Keith Moodie
@ 1999-07-27  4:00 ` John Hill
  1999-07-27  4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: John Hill @ 1999-07-27  4:00 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Adding a new disk and SCSI controller
  1999-07-27  4:00 ` Adam Price
@ 1999-07-27  4:00   ` Adam Price
  0 siblings, 0 replies; 7+ messages in thread
From: Adam Price @ 1999-07-27  4:00 UTC (permalink / raw)


[[ e-mailed and posted, see headers for details ]]

Adam Price wrote in message <933086402.18237.0.nnrp-12.c2deb51d@news.demon.co.uk>...
>
>Keith Moodie wrote in message <379D5F42.2781@dnr.qld.gov.au>...
>>Hi,
>
>Hi,
><Snip>
>>
>>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
><SNIP>
>
>The calculation for X in MAKEDEV rzX is
>Bus * 8 + Target
>
>eg.
>the atapi cd-rom drive is on bus 0 target 0
>Therefore  to make special device file for
>cd= rz(0*8+0) = rz0 therefore in /dev , ./MAKEDEV rz0
>
>Second eg.
>Hard Drive type RZ1CC-BA = rz(2*8+0) = rz16
>
>Hope this helps
>Adam
>
>

Sorry to follow up my own post.

Of course the bits I forgot until I got your e-mail and can now add are...
1 scu shows no sign of the new scsi card
2 scu shows no sign of the new disk
3 bus 1 is the second IDE but in a personal Workstation


So, do a kernel rebuild to get the card added to the kernel
    shut down to srm (type init 0)
    boot from generic kernel (type boot -file genvmunix )
    rebuild kernel  (type doconfig ; follow the prompts)
    copy the current kernel to /vmunix.old
    copy the new kernel (/sys/HOSTNAME/vmunix) to /
    shut down to srm (type init 0)
    boot normally (type boot)

When this is done your scu scan edt, scu show edt will show the disk
it should be on bus 3 and so be 3*8 +1 = rz25

Sorry I didn't spot this first time,
Hope this helps
Adam

--
Please don't send me email.
If you must, then use the address as given, there is no spam-block.






^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Adding a new disk and SCSI controller
  1999-07-27  4:00 Adding a new disk and SCSI controller Keith Moodie
                   ` (3 preceding siblings ...)
  1999-07-27  4:00 ` Adam Price
@ 1999-07-29  4:00 ` Keith Moodie
  4 siblings, 0 replies; 7+ messages in thread
From: Keith Moodie @ 1999-07-29  4:00 UTC (permalink / raw)


Hi,

Just wanted to say thanks for all of the help

A kernel rebuild was required and the controller then showed with the
RAID array as rz25.

Once this was done the rest was easy, so I now have a happy advfs file
system up and in use.

Thanks again for the help


Keith Moodie,
EMail: moodiek@dnr.qld.gov.au



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1999-07-29  4:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-27  4:00 Adding a new disk and SCSI controller Keith Moodie
1999-07-27  4:00 ` Adding a new disk and SCSI controller - extra info Keith Moodie
1999-07-27  4:00 ` Adding a new disk and SCSI controller John Hill
1999-07-27  4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1999-07-27  4:00 ` Adam Price
1999-07-27  4:00   ` Adam Price
1999-07-29  4:00 ` Keith Moodie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox