Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* How To Add a Hard Disk?
@ 1996-11-07  5:00 Scott Sanbeg
  1996-11-08  5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  1996-11-11  5:00 ` Igor Merku
  0 siblings, 2 replies; 3+ messages in thread
From: Scott Sanbeg @ 1996-11-07  5:00 UTC (permalink / raw)



Hello All,
Well, the old docs I have let a lot to be desired...  I added a disk to our 
Storage Works 3-channel blah-blah, a logical disk, and initialized it, 
checked it for errors, all that good stuff.  The docs say to reboot to 
the OS to have the new un-named device integrate...  The OS doesn't know 
anything about it, and neither do I at this point.  But, basically, how 
does one add a hard disk?  Most unii I've seen takes you through 
something like this:
mkdev hd->select the manufacturer->select the model->etc.

-- 
Scott Sanbeg                            INTERNET: ssanbeg@interglobe.com
interGlobe Networks, Inc.               OFFICE: 206.623.2222
1520 Fourth Avenue, Suite 200           FAX: 206.623.0885 
Seattle, WA  98101                      INFO: info@interglobe.com 
This is my opinion and mine alone.      URL: http://www.interglobe.com



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

* Re: How To Add a Hard Disk?
  1996-11-07  5:00 How To Add a Hard Disk? Scott Sanbeg
@ 1996-11-08  5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  1996-11-11  5:00 ` Igor Merku
  1 sibling, 0 replies; 3+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1996-11-08  5:00 UTC (permalink / raw)




In article <32826983.41C67EA6@interglobe.com>, Scott Sanbeg <ssanbeg@interglobe.com> writes:
I added a disk to our 
>Storage Works 3-channel blah-blah, a logical disk, and initialized it, 
>checked it for errors, all that good stuff.

The backplane StorageWorks RAID controllers (KZESC, KZPSC) use the "re"
device driver.  My experience with them is limited to maybe having seen
one once.  If the driver is reasonable, it will find new devices with
need a kernel rebuild.
^[
>The docs say to reboot to 
>the OS to have the new un-named device integrate...  The OS doesn't know 
>anything about it, and neither do I at this point.  But, basically, how 
>does one add a hard disk?

Watch the boot messages when the system boot to see what "re" devices
show up.  If the new one is present, you're in good shape.  If not
you may have to change the configuration file, rebuild the kernel
and reboot.  If the boot does find the device, you need to:

1.  Create the special device files using /dev/MAKEDEV.  For example
    if the new "re" device is "re1":

	# cd /dev
	# ./MAKEDEV re1

2.  Label it.

	# disklabel -wr /dev/rre1c re

    You probably don't need to provide much more information, as the
    disklabel command will get the capacity, geometry and partition
    table from the driver.

3.  Use it.  mkfdmn or addvol with AdvFS, add it to LSM and create
    volumes on it, use newfs to create a UFS, use it directly as a
    raw device.

If you have to rebuild the configuration file...

For a device like this, editing the configuration and rebuilding
directly is probably easier than booting genvmunix and building
a new kernel from scratch.  Each SWXCR class controller is represented
by a line like:

controller      xcr0    at *     vector xcrintr

In a real configuration file, the "at *" will be filled in with the
actual location.  Each of these devices supports 8 logical units
represented by:

device disk             re0     at xcr0         drive 0
device disk             re1     at xcr0         drive 1
device disk             re2     at xcr0         drive 2
device disk             re3     at xcr0         drive 3
device disk             re4     at xcr0         drive 4
device disk             re5     at xcr0         drive 5
device disk             re6     at xcr0         drive 6
device disk             re7     at xcr0         drive 7

If the configuration doesn't include all these when the base xcr0
device is added, you can just add the missing ones by hand.  Additional
xcr controllers (xcr1, xcr2, etc) will use progressively higher drive
numbers; re8-re15 for xcr1, re16-re23 for xcr2, etc.

To build the new kernel after editing the configuration use the doconfig
command:

# doconfig -c HOSTNAME

Replace HOSTNAME, by your configuration file name.  After the kernel
has built, save a copy of the current /vmunix, copy the new one
to the root and reboot:

# cp /vmunix /vmunix.sav
# cp /sys/HOSTNAME/vmunix /
# shutdown -r +n "Find new device"

I would doubt that you have to go through any of this, but it seems
best to be complete.

>Scott Sanbeg                            INTERNET: ssanbeg@interglobe.com

--
Alan Rollow				alan@nabeth.cxo.dec.com




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

* Re: How To Add a Hard Disk?
  1996-11-07  5:00 How To Add a Hard Disk? Scott Sanbeg
  1996-11-08  5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 1996-11-11  5:00 ` Igor Merku
  1 sibling, 0 replies; 3+ messages in thread
From: Igor Merku @ 1996-11-11  5:00 UTC (permalink / raw)



Scott Sanbeg <ssanbeg@interglobe.com> wrote:

> Hello All,
> Well, the old docs I have let a lot to be desired...  I added a disk to our
> Storage Works 3-channel blah-blah, a logical disk, and initialized it,
> checked it for errors, all that good stuff.  The docs say to reboot to
> the OS to have the new un-named device integrate...  The OS doesn't know
> anything about it, and neither do I at this point.  But, basically, how
> does one add a hard disk?  Most unii I've seen takes you through 
> something like this:
> mkdev hd->select the manufacturer->select the model->etc.

Try to add the disk to your kernel. I guess you have Digital Unix, so
add to your kernel something like
device disk     rz5     at scsi1        drive 88
Take care of the "at scsi#" and the drive # !
Build a new kernel and reboot the system. The disk should appear.

Hope this helps.

____________________________________________________________________
Igor P. Merku
private email:  merku@braunschweig.netsurf.de
businnes email: igor.merku@bwga1.erl1.siemens.scn.dbp.de



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

end of thread, other threads:[~1996-11-11  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-11-07  5:00 How To Add a Hard Disk? Scott Sanbeg
1996-11-08  5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1996-11-11  5:00 ` Igor Merku

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