home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mips
- Path: sparky!uunet!UB.com!pacbell.com!decwrl!concert!gatech!usenet.ins.cwru.edu!agate!spool.mu.edu!uwm.edu!caen!batcomputer!munnari.oz.au!metro!basser.cs.su.oz.au!rex
- From: rex@cs.su.oz.au (Rex Monty di Bona)
- Subject: Re: Adding an unformatted Seagate ST11200N to RC3230
- Reply-To: rex@cs.su.oz.au (Rex Monty di Bona)
- Organization: Basser Dept of Computer Science, University of Sydney, Australia
- Date: Wed, 27 Jan 1993 07:01:11 GMT
- Message-ID: <1993Jan27.070111.1135@cs.su.oz.au>
- References: <JOOST.93Jan20220655@ori.cadlab.de>
- Sender: news@cs.su.oz.au (News)
- Lines: 119
-
- In article <JOOST.93Jan20220655@ori.cadlab.de> joost@cadlab.de writes:
- > He wants to put a Seagate ST11200N (Elite?, 1.2 GB unformatted) as second disk
- > on his RC3230 running RISC/OS 4.51. He would like to know what incantations he
- > needs for formatting/partioning and a reasonable starting point for the
- > /etc/disktab with newfs(8). Has anybody experience with this drive? This drive
- > is *not* formatted for MIPS !
-
- Standard question..
-
- ok, the program you want is 'format'.
-
- firstly, shut the mips down to the monitor prompt..
- # cd /
- # shutdown -y -i0 -g0
-
- ....
-
- MIPS Rx3230 prom prompt.
- memory installed etc..
- >>
-
- Now use the sprobe command to get an unused SCSI slot to put the drive on,
- usually 1 to 4 are good ones, but any of 0 to 6 can be used (7 is used by
- the system).
-
- Configurethe drive (jumpers or thumbwheel) to the scsi id you just picked.
- Make sure it doesn't clash with one already installed (that's what sprobe
- does). (BTW, I have a version of sprobe that works in multiuser (really
- useful for sys-admin type tasks) I'll put it up for ftp, ot post it if
- the demand is there)..
-
- ok, now you have your SCSI ID for the drive.
- Power off the machine, and drives and add the drive to the chain.
- Power on the chain and the machine and boot RISC/os
-
- as root run format
- # format
-
- the path name for the /dev entry can be calculated from the SCSI ID
- In the answers below replace <SCSI ID> with the ID
-
- Enter full path to /dev entry for entire volume? /dev/rdsk/sdc0d<SCSI ID>s10
-
- When asked "dump device parameters (y if yes)? " respond 'y' and take a note
- of the number of cylinders, heads and sectors per track,
- for an ST42100 the responses are:
- number cylinders = 2209
- number heads = 15
- number sectors per track = 112
-
- Just press CR till you get to the line "modify partition table (y if yes)?"
- and answer 'y' to this question, then 'init' the partition table, and format
- will work out what it consideres a useful partition table. If you have your
- own desires then just enter them now.
- Now print out the partition table.. it should look something like the following
-
- dump partition table (y if yes)? y
- Root partition is entry #0
- Swap partition is entry #0
- Default boot file is
-
- entry type #blks #cyls cg(mod) 1st_lbn 1st_cyl num_bytes
- 0-a BSD file sys 40320 24 1(8) 3360 2 20643840
- 1-b BSD file sys 40320 24 1(8) 3670800 2185 20643840
- 2-c BSD file sys 3707760 2207 137(15) 3360 2 1898373120
- 3-d BSD file sys 3627120 2159 134(15) 43680 26 1857085440
- 4-e BSD file sys 2387280 1421 88(13) 43680 26 1222287360
- 5-f BSD file sys 1194480 711 44(7) 2430960 1447 611573760
- 6-g BSD file sys 3581760 2132 133(4) 43680 26 1833861120
- 7-h BSD file sys 45360 27 1(11) 3625440 2158 23224320
- 8 volume header 3360 2 0(2) 0 0 1720320
- partition 9 size == 0
- 10 entire volume 3711120 2209 138(1) 0 0 1900093440
- 11-i BSD file sys 3024000 1800 112(8) 3360 2 1548288000
- 12-j BSD file sys 683760 407 25(7) 3027360 1802 350085120
- 13-k BSD file sys 85680 51 3(3) 3625440 2158 43868160
- 14-l BSD file sys 1212960 722 45(2) 3360 2 621035520
- 15-m BSD file sys 1214640 723 45(3) 1216320 724 621895680
-
- (this is also for a segate ST42100 (1.9GB disk))
-
- Note. Usually you don't need to format one of these drives, just
- labeling it should be enough. I find that the factory format is quite
- satisfactory, and so I respond 'n' for the format in format.
-
- So, push CR until youare at the bad sector management, enter 'q' and
- reply 'y' for write a new header.
-
- Now, to generate the /dev/disktab entry required....
- take the #blks entry for each entry a to m in the printout above, and
- greate a line in /etc/disktab. So, for our example for the ST42100 we
- get the following...
-
- ST42100|SEGATE 2.1GB Wren IX:\
- :ty=winchester:ns#112:nt#15:nc#2209:\
- :pa#40320:ba#8192:fa#1024:\
- :pb#40320:bb#8192:fb#1024:\
- :pc#3707760:bc#8192:fc#1024:\
- :pd#3627120:bd#8192:fd#1024:\
- :pe#2387280:be#8192:fe#1024:\
- :pf#1194480:bf#8192:ff#1024:\
- :pg#3581760:bg#8192:fg#1024:\
- :ph#45360:bh#8192:fh#1024:\
- :pi#2427600:bi#8192:fi#1024:\
- :pj#1280160:bj#8192:fj#1024:\
- :pk#85680:bk#8192:fk#1024:\
- :pl#1212960:bl#8192:fl#1024:\
- :pm#1214640:bm#8192:fm#1024:
-
- Make you own name up, perhaps ST11200N|Segate 1.2Gb Elite:
- Just replace the pX# numbers, and the geometry info, and you are away..
-
- To newfs, say for partition 2, the command would be:
- # newfs.ffs -v -s 3707760 /dev/rdsk/sdc0d<SCSI ID>s2 ST11200N
- .... lots of output ....
-
-
- --
- Rex di Bona (rex@cs.su.oz.au) Penguin Lust is NOT immoral
-