From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078614710348.tru64-unix-managers.marc@archive.invalid> From: "Sheryl A. Campbell" Date: Fri, 11 Jul 1997 15:22:42 +0000 To: tru64-unix-managers Subject: SUMM: Adding a disk drive X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078614710348 Thanks to all. We finally figured out what we had done wrong -- we had the new drive in rrz9, NOT 10!! (Yes, we do have two controllers). I warned you, it was stupid! I received many, many useful suggestions. Dr. Tom Blinn, our faithful DEC contributor, was the one who figured it out. Thankfully, we saved some face by figuring it out before we heard from Dr. Blinn (our internet connection was down, so we couldn't get messages, but could still play with our Alpha). In the interest of helping someone with disk drive problems who is searching the archives, I have included the answers below as a trouble-shooting guide. Thanks to all who contributed: Charles C. H. Jui" alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) "Nagaraja, Raja" Jim Palfreyman chu@musp0.Jpl.Nasa.Gov (Eugene Chu) schuenem@rz5.rz.fh-wilhelmshaven.de (Andreas Schuenemann) John Welsh c753330@nlzcl1.decnet.philips.nl (Alex Kok) Boddy Bill NTSE Eric Bennett Alan John Lovell J. Shane Kennedy Erik Persson "Raymond A. Browder" Oisin McGuinness "Carlos Dagnino M" "Dr. Tom Blinn, 603-881-0646" Hernando Barragan Best Regards, Sheryl =============================================================================== From: "Charles C. H. Jui" To: "Sheryl A. Campbell" Cc: alpha-osf-managers@ornl.gov Subject: Re: Q: Adding a disk drive > > ./MAKEDEV rz10 > MAKEDEV: special file(s) for rz10: > rz10a rrz10a rz10b rrz10b rz10c rrz10c rz10d rrz10d rz10e rrz10e rz10f rrz10f rz > 10g rrz10g rz10h rrz10h I believe the "rz" device type is for SCSI devices. And the "10" refers to a SCSI device ID the disk drive is set to. "Normal" SCSI devices can have ID from 0 to 7. So unless you have some very special hardware, you must be mistaken about the device ID Charlie Jui Physics, U. of Utah ================================================================================ Date: Thu, 10 Jul 1997 22:12:55 -0600 From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) To: campbell@lvc.edu Subject: Re: Q: Adding a disk drive Are you sure the drive is on bus 1, target 2? See what scu(8) has to say: # scu show edt bus 1 # scu set nexus bus 1 target 2 lun 0 sho device ================================================================================ From: "Nagaraja, Raja" To: "'Sheryl A. Campbell'" Subject: RE: Adding a disk drive Date: Fri, 11 Jul 1997 14:22:13 +1000 You have to use the following command: disklabel -rw /dev/rz10 rz29 You have to specify the disk model. Raja Raja Nagaraja Canberra, ACT Australia ================================================================================ Sender: jim@orac.ecc.tased.edu.au Date: Fri, 11 Jul 1997 14:22:19 +1000 From: Jim Palfreyman Organization: Information Technology Branch To: "Sheryl A. Campbell" Subject: Re: Q: Adding a disk drive References: <2.2.16.19970710151635.4bdf52c0@mail.lvc.edu> Have you built it into your kernel??? ________________________________________________________________________ Jim Palfreyman Information Technology Branch _--_|\ jim@orac.ecc.tased.edu.au 2nd Floor 73 Murray Street / \ phone: +61 3 6233 6900 Hobart TAS 7000 Australia \_.--._/ I be fax: +61 3 6233 6969 (PGP key available) v <-- 'ere ________________________________________________________________________ ================================================================================ Date: Thu, 10 Jul 1997 23:40:20 -0700 From: chu@musp0.Jpl.Nasa.Gov (Eugene Chu) To: campbell@lvc.edu Subject: Re: Q: Adding a disk drive Did you add the device entry into the system configuration file in /sys/conf and rebuild the kernel? The other way to do it is to boot up from the generic kernel and have it do an autoconfig and create a new configuration file and rebuild a new kernel. (I assume you must already know that rz10 means that the disk should be set to target ID 2 on the second SCSI bus.) good luck, eyc ================================================================================ X-Authentication-Warning: rz4.rz.fh-wilhelmshaven.de: localhost [127.0.0.1] didn't use HELO protocol To: "Sheryl A. Campbell" Subject: Re: Q: Adding a disk drive Date: Fri, 11 Jul 97 09:03:48 -0000 From: schuenem@rz5.rz.fh-wilhelmshaven.de X-Mts: smtp High, Sheryl, you wrote: % ROOT admin::/dev> disklabel -rw rz10 scratch1 disklabel: /dev/rrz10a: No such device or address I would think it should look like this: % ROOT admin::/dev> disklabel -rw rz10c rz29 ^ Hope this will help you. I like your homepage. It's very friendly. Hope my own will also look good one day ... Bye, Andreas +----------------------------------------------------------------------+ | Andreas Schuenemann Tel.: 04421-985-608 | | Fachhochschule Wilhelmshaven Fax : 04421-81950 | | Rechenzentrum RFC-822:schuenem@rz.fh-wilhelmshaven.de | | Friedrich-Paffrath-Str.101 http://www.fh-wilhelmshaven.de/~schuenem| | 26389 Wilhelmshaven | +----------------------------------------------------------------------+ ================================================================================ From: John Welsh To: "'campbell@lvc.edu'" Subject: adding disk to Alpha. Date: Fri, 11 Jul 1997 17:35:39 +1000 Hi Sheryl, You are almost there! The correct use of the disklabel command is: disklabel -rw /dev/rrz10a rz28 disklabel -e rz10 ! to list the partition table on the disk. Then newfs the partition/s you want to use (c for the whole disk or a selection of others to split the disk into "segments"). newfs /dev/rz10c Create a mount point: mkdir /usrx mount the disk: mount /dev/rz10c /usrx Enter the mount command into the /etc/fstab file for automounting on boot up. The last parameter in the disklabel command must be a recognised disk type from the /etc/disktab file. best regards, John Welsh. Engineering Manager Integrand Solutions. 275 Alfred St. North Sydney. 2060. Australia. ================================================================================ Date: Fri, 11 Jul 1997 07:57:39 GMT From: c753330@nlzcl1.decnet.philips.nl (Alex Kok) To: "campbell@lvc.edu"@NLZMS.decnet.philips.nl Cc: C753330@nlzcl1.decnet.philips.nl Subject: RE: Q: Adding a disk drive Try # scu show edt (possibly followed by | grep -v "(not present)" ) to find out the correct scsi address, then use MAKEDEV to create the right ones. Regards, Alex Kok. ================================================================================ From: Boddy Bill NTSE To: "'Sheryl A. Campbell'" Subject: RE: Adding a disk drive Date: Fri, 11 Jul 1997 09:12:18 +0100 Can you connect to the drive via SCU ? # scu -f /dev/rrz10c scu> show device regards, Bill Boddy Siemens Microelectronics Newcastle ================================================================================ Date: Fri, 11 Jul 1997 04:22:44 -0400 (EDT) From: Eric Bennett To: "Sheryl A. Campbell" Subject: Re: Q: Adding a disk drive Are you sure the device you've created matched the scsi id of the new drive? You've created the /dev entry for bus 1 target 2. What does scu scan edt lun 0 tell you? Eric B. ================================================================================ Sender: lovell@axosf1.cern.ch Date: Fri, 11 Jul 1997 10:46:51 +0200 From: Alan John Lovell Organization: CERN To: "Sheryl A. Campbell" Subject: Re: Q: Adding a disk drive References: <2.2.16.19970710151635.4bdf52c0@mail.lvc.edu> Hi, The new drive is almost certainly not included in the kernel configuration file - "/sys/conf/". You will have to edit this file to add the new drive and then rebuild the kernel using "doconfig -c ". You can look in the file "/sys/conf/GENERIC" for examples or use the command "sizer" to generate a new file. Best Regards, Alan ================================================================================ Date: Fri, 11 Jul 1997 08:15:14 -0400 (EDT) From: alpha-osf-manager email acct Subject: Re: Q: Adding a disk drive To: campbell@lvc.edu (Sheryl A. Campbell) did you add the device to the kernel you can boot the generic kernel to see how it specifies the device -- ( ( / J. Shane Kennedy \ ) ) / ) ) / osf@python.corning.com \ ( ( \ / ( ( / =============================================== \ ) ) \ / ) ) my opinions do not reflect those of my employer ( ( \ ================================================================================ To: "Sheryl A. Campbell" Subject: Re: Q: Adding a disk drive References: <2.2.16.19970710151635.4bdf52c0@mail.lvc.edu> From: Erik Persson Date: 11 Jul 1997 14:17:20 +0200 Lines: 48 As long as you haven't added the disk to a new controller Digital Unix should be very able to probe and register any new drives on an known controller. I guess that a defective drive also might get disabled upon boot and produce this kind of confusedness. So much for natural causes. If the above requirements are met, I cannot think about very many options in the "stupid" category, but here's one: Are you sure that this drive gets recognized as rz10 and not somethnig else? With MAKEDEV you can create device files for anything - even if isn't even present on the system. Take a look at (the end of) /var/adm/messages and you should probably find the answer to that and to the question of wether the disk gets recognized at all. Bye, /Erik ================================================================================ From: "Raymond A. Browder" To: "'Sheryl A. Campbell'" Cc: "'Raymond Browder'" Subject: RE: Adding a disk drive Date: Fri, 11 Jul 1997 08:22:49 -0400 Hi Sheryl, You gave the command as: disklabel -rw rz10 scratch1 I've believe it should be: disklabel -rw /dev/rrz10c rz29 That should work. Ray ================================================================================ X-Authentication-Warning: firewall.sbcm.com: sbcm20 [172.19.10.220] didn't use HELO protocol To: "Sheryl A. Campbell" cc: oisin@sbcm.com Subject: Re: Q: Adding a disk drive Date: Fri, 11 Jul 97 08:48:06 -0400 From: Oisin McGuinness X-Mts: smtp You don't say what kind of alpha, or what version of the OS. Versions 3.2 require adding lines to the kernel config file to see drives; versions 4.x will dynamically recognize the disk on boot and do the MAKEDEV for you. Also, if you're using a StorageWorks array, sometimes they are in a split bus mode, where the numbers are not what one expects.... If you send me the console level stuff, and the uerf -R output showing the boot messages, I can offer more ideas, perhaps half-baked :-) Oisin McGuinness Sumitomo Bank Capital Markets 277 Park Avenue New York NY 10172 USA (212)-224-4913, email: oisin@sbcm.com =============================================================================== Date: Fri, 11 Jul 97 09:14:48 PST From: "Carlos Dagnino M" Encoding: 104 Text To: "Sheryl A. Campbell" Subject: Re: Q: Adding a disk drive Hi Sheryl: After the disk instalation you have to define the device in /sys/conf/HOST file and run doconfig -c HOST command. Copy the new vmunix created at /sys/HOST directory to / (root) and reboot with shutdown -r now. If you want to create file systems you can do it with : disklabel -er rz10 command. To create filesystems use : newfs /dev/rrz10c rz29 command (rrz10c is an example to create c partition ) To mount the filesystem you have to create the mount point directory, for example, mkdir alpha; and finally mount /dev/rz10c /alpha command. Oh, something else! ... you have to include the new filesystems in /etc/fstab file to mount them at future reboots. I hope this be helpful for you. ______________________________________________________________________ | | | Carlos Dagnino Mardones System Engineer | | e-mail: Carlos.Dagnino@consorcio.cl | | Consorcio Nacional de Seguros-Vida | | Santiago de Chile | | | |_______________[best regards from the end of the world]_______________| ================================================================================ To: "Sheryl A. Campbell" Subject: Re: Q: Adding a disk drive Date: Fri, 11 Jul 97 09:07:41 -0400 From: "Dr. Tom Blinn, 603-881-0646" X-Mts: smtp > Help! What are we missing? We've added drives before ... it's got to be > something stupid! Please, pull us out of this mire of despair!! Okay, that's > a little melodramatic, but ... hey, what's a little fun between all these > gray hairs!! Everything you've done looks right. What version of Digital UNIX? What does # file /dev/rrz10a tell you? What does # file /dev/rrz10c tell you? If you're running V4.0x, when you booted the system, did it find the disk at that address during probe? That is, was the device reported in the list of devices? And rz10 would be on your second SCSI bus -- do you have two controllers? Are there any other devices on that controller that work? If this is a wide drive, you need to understand that even with wide drives, all the drives have to be at unit numbers below 8 -- only 0-7 work, if you've got a wide drive set to a higher unit number, Digital UNIX won't be able to find it or use it, even if the console sees it. Tom Dr. Thomas P. Blinn, UNIX Software Group, Digital Equipment Corporation 110 Spit Brook Road, MS ZKO3-2/U20 Nashua, New Hampshire 03062-2698 Technology Partnership Engineering Phone: (603) 881-0646 Internet: tpb@zk3.dec.com Digital's Easynet: alpha::tpb ACM Member: tpblinn@acm.org PC@Home: tom@felines.mv.net Worry kills more people than work because more people worry than work. Keep your stick on the ice. -- Steve Smith ("Red Green") My favorite palindrome is: Satan, oscillate my metallic sonatas. -- Phil Agre, pagre@ucsd.edu Opinions expressed herein are my own, and do not necessarily represent those of my employer or anyone else, living or dead, real or imagined. ================================================================================ Date: Fri, 11 Jul 1997 09:53:15 -0500 (GMT-0500) From: Hernando Barragan Subject: Re: Q: Adding a disk drive To: "Sheryl A. Campbell" Hi, i think you must include the new drive on the kernel configuration file and then rebuild it, which OS version do you have? ================================================================================ % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % Sheryl A. Campbell Internet: campbell@lvc.edu % % Assistant Director Voice: (717)867-6060 % % Administrative Computing FAX: (717)867-6019 % % % % L E B A N O N V A L L E Y C O L L E G E % % % % DEC Unix 3.2d-1, Coll: Live 13.11, Dev 14.4, Ben: Live 4.3, Dev 4.3 % % % % Visit my Personal Web Page at % % http://www.geocities.com/Heartland/Plains/4407/index.html % % % % Never underestimate the power of a smile! % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %