From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,2cc2843656cc7304 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-01-29 09:54:00 PST Path: gmd.de!xlink.net!howland.reston.ans.net!paladin.american.edu!zombie.ncsc.mil!cs.umd.edu!net.usuhs.mil!bob.usuf2.usuhs.nnmc.navy.mil!bob From: bob@bob.usuf2.usuhs.nnmc.navy.mil (Bob Williams) Newsgroups: comp.unix.osf.osf1 Subject: Re: Seagate ST12400N query Date: 28 Jan 1994 22:08:18 GMT Organization: OrgFreeware Distribution: world Message-ID: <2ic2ci$1sk@net.usuhs.mil> References: <2ibter$vc@elroy.jpl.nasa.gov> Reply-To: bob@bob.usuf2.usuhs.nnmc.navy.mil (Bob Williams) NNTP-Posting-Host: bob.usuf2.usuhs.nnmc.navy.mil I have installed two SEAGATE ST43400N drives on my Alpha and have had no problems since I worked out the procedure. Here is what I have done, I suspect that the approach for your ST12400N is similar: Procedure for installing Seagate disk drive on Alpha 1. Determine what SCSI port numbers are in use, and what ones are available. You can do this by shutting down your system ("shutdown -h now") and using the monitor to report the used SCSI devices (show device). "help show" should give you the monitor options. My system uses 3 and 4 for the internal buss (buss 0), and I have installed Seagate drives on 2 and 5 on my external buss (buss 1). 2. Determine the logical unit number of your drive. The 3000 model 400 has two scsi busses, 0 and 1. Buss 0 is internal to the box, while buss 1 has a SCSI connector on the back of the buss. Multiply the buss number (1 in my case for the external SCSI) by 8 and add this to the SCSI port address that you have chosen for the disk drive. This gives me 10 and 13 for my two external disk drives. 3. Change directory to /dev and execute the MAKEDEV command with an argument containing the logical unit number. This was "./MAKEDEV rz13" for me most recently. "man MAKEDEV" will give you more information. 4. You should now be able to run the disklabel command to see if you have a proper disk label: "disklabel -r rz13". You probably don't, so... 5. Make sure that you have an /etc/disktab entry for your new disk drive. My entry for one of my two external Seagate drives looks like this: rzxx|RZxx|ST43400N|st43400n|SEAGATE ST43400N:\ :ty=winchester:dt=SCSI:ns#99:nt#21:nc#2736:\ :oa#0:pa#131072:ba#8192:fa#1024:\ :ob#131072:pb#262144:bb#8192:fb#1024:\ :oc#0:pc#5688447:bc#8192:fc#1024:\ :od#393216:pd#262144:bd#8192:fd#1024:\ :oe#655360:pe#262144:be#8192:fe#1024:\ :of#917504:pf#262144:bf#8192:ff#1024:\ :og#1179648:pg#262144:bg#8192:fg#1024:\ :oh#1441792:ph#4246655:bh#8192:fh#1024: # Second ST43400N: rzxy|RZxy|ST43400N|st43400n|SEAGATE ST43400N:\ :ty=winchester:dt=SCSI:ns#99:nt#21:nc#2736:\ :oa#0:pa#131072:ba#8192:fa#1024:\ etc. You should be able to write a disk label now using the following command: disklabel -w -r -n /dev/rrz13a rzxy You can change the disk label after this by using other options to disklabel. 6. You can use the "scu" utility (see "man scu" for info) to initialize your disk. type scu -f /dev/rrz13c scu> show capacity Disk Capacity Information: Maximum Capacity: 5688447 Block Length: 512 scu> show nexus Device Nexus: Bus: 1, Target: 5, Lun: 0, Device Type: Direct Access 7. Next try to run "newfs /dev/rrz13c rzxy" (using your own logical unit number, partition "c", and your own disk name (mine is rzxy here). This didn't work for me. An error message complained about running out of space, even though I'm using the same size parameters that worked for my other Seagate. This suggests that the disk was not labelled properly. You may have to edit the label using "disklabel -e rz13". I changed the default sectors/track from 99 to 100, sectors/cylinder to 2100, and sectors/unit to 5688447 after much experimentation, to obtain the maximum use of my disk. The header of my disklabel looks like this: type: SCSI disk: RZxx label: SEAGATE ST43400N flags: bytes/sector: 512 sectors/track: 100 tracks/cylinder: 21 sectors/cylinder: 2100 cylinders: 2736 sectors/unit: 5688447 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8. Next you can run "newfs /dev/rrz13c rzxy" and the remainder of your disk label, containing partition information, will be rewritten and corrected for the changes in the header. You should be able to mount partition c now, or you can change the partitions and run newfs on each partition that you want to use. Bob Williams Nov. 16, 1993 Bob Williams, Jan. 28, 1994