home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mips / 1187 < prev    next >
Encoding:
Text File  |  1993-01-28  |  5.4 KB  |  132 lines

  1. Newsgroups: comp.sys.mips
  2. 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
  3. From: rex@cs.su.oz.au (Rex Monty di Bona)
  4. Subject: Re: Adding an unformatted Seagate ST11200N to RC3230
  5. Reply-To: rex@cs.su.oz.au (Rex Monty di Bona)
  6. Organization: Basser Dept of Computer Science, University of Sydney, Australia
  7. Date: Wed, 27 Jan 1993 07:01:11 GMT
  8. Message-ID: <1993Jan27.070111.1135@cs.su.oz.au>
  9. References: <JOOST.93Jan20220655@ori.cadlab.de>
  10. Sender: news@cs.su.oz.au (News)
  11. Lines: 119
  12.  
  13. In article <JOOST.93Jan20220655@ori.cadlab.de> joost@cadlab.de writes:
  14. > He wants to put a Seagate ST11200N (Elite?, 1.2 GB unformatted) as second disk
  15. > on his RC3230 running RISC/OS 4.51. He would like to know what incantations he
  16. > needs for formatting/partioning and a reasonable starting point for the
  17. > /etc/disktab with newfs(8). Has anybody experience with this drive? This drive
  18. > is *not* formatted for MIPS !
  19.  
  20. Standard question..
  21.  
  22. ok, the program you want is 'format'.
  23.  
  24. firstly, shut the mips down to the monitor prompt..
  25. # cd /
  26. # shutdown -y -i0 -g0
  27.  
  28. ....
  29.  
  30. MIPS Rx3230 prom prompt.
  31. memory installed etc..
  32. >>
  33.  
  34. Now use the sprobe command to get an unused SCSI slot to put the drive on,
  35. usually 1 to 4 are good ones, but any of 0 to 6 can be used (7 is used by
  36. the system).
  37.  
  38. Configurethe drive (jumpers or thumbwheel) to the scsi id you just picked.
  39. Make sure it doesn't clash with one already installed (that's what sprobe
  40. does). (BTW, I have a version of sprobe that works in multiuser (really
  41. useful for sys-admin type tasks) I'll put it up for ftp, ot post it if
  42. the demand is there)..
  43.  
  44. ok, now you have your SCSI ID for the drive.
  45. Power off the machine, and drives and add the drive to the chain.
  46. Power on the chain and the machine and boot RISC/os
  47.  
  48. as root run format
  49. # format
  50.  
  51. the path name for the /dev entry can be calculated from the SCSI ID
  52. In the answers below replace <SCSI ID> with the ID
  53.  
  54. Enter full path to /dev entry for entire volume? /dev/rdsk/sdc0d<SCSI ID>s10
  55.  
  56. When asked "dump device parameters (y if yes)? " respond 'y' and take a note
  57. of the number of cylinders, heads and sectors per track,
  58. for an ST42100 the responses are:
  59.         number cylinders = 2209
  60.         number heads = 15
  61.         number sectors per track = 112
  62.  
  63. Just press CR till you get to the line "modify partition table (y if yes)?"
  64. and answer 'y' to this question, then 'init' the partition table, and format
  65. will work out what it consideres a useful partition table. If you have your
  66. own desires then just enter them now.
  67. Now print out the partition table.. it should look something like the following
  68.  
  69. dump partition table (y if yes)? y
  70.         Root partition is entry #0
  71.         Swap partition is entry #0
  72.         Default boot file is
  73.  
  74. entry   type            #blks   #cyls   cg(mod) 1st_lbn 1st_cyl num_bytes
  75. 0-a     BSD file sys    40320   24      1(8)    3360    2       20643840
  76. 1-b     BSD file sys    40320   24      1(8)    3670800 2185    20643840
  77. 2-c     BSD file sys    3707760 2207    137(15) 3360    2       1898373120
  78. 3-d     BSD file sys    3627120 2159    134(15) 43680   26      1857085440
  79. 4-e     BSD file sys    2387280 1421    88(13)  43680   26      1222287360
  80. 5-f     BSD file sys    1194480 711     44(7)   2430960 1447    611573760
  81. 6-g     BSD file sys    3581760 2132    133(4)  43680   26      1833861120
  82. 7-h     BSD file sys    45360   27      1(11)   3625440 2158    23224320
  83. 8       volume header   3360    2       0(2)    0       0       1720320
  84. partition 9 size == 0
  85. 10      entire volume   3711120 2209    138(1)  0       0       1900093440
  86. 11-i    BSD file sys    3024000 1800    112(8)  3360    2       1548288000
  87. 12-j    BSD file sys    683760  407     25(7)   3027360 1802    350085120
  88. 13-k    BSD file sys    85680   51      3(3)    3625440 2158    43868160
  89. 14-l    BSD file sys    1212960 722     45(2)   3360    2       621035520
  90. 15-m    BSD file sys    1214640 723     45(3)   1216320 724     621895680
  91.  
  92. (this is also for a segate ST42100 (1.9GB disk))
  93.  
  94. Note.  Usually you don't need to format one of these drives, just
  95. labeling it should be enough.  I find that the factory format is quite
  96. satisfactory, and so I respond 'n' for the format in format.  
  97.  
  98. So, push CR until youare at the bad sector management, enter 'q' and
  99. reply 'y' for write a new header.
  100.  
  101. Now, to generate the /dev/disktab entry required....
  102. take the #blks entry for each entry a to m in the printout above, and
  103. greate a line in /etc/disktab.  So, for our example for the ST42100 we
  104. get the following...  
  105.  
  106. ST42100|SEGATE 2.1GB Wren IX:\
  107.         :ty=winchester:ns#112:nt#15:nc#2209:\
  108.         :pa#40320:ba#8192:fa#1024:\
  109.         :pb#40320:bb#8192:fb#1024:\
  110.         :pc#3707760:bc#8192:fc#1024:\
  111.         :pd#3627120:bd#8192:fd#1024:\
  112.         :pe#2387280:be#8192:fe#1024:\
  113.         :pf#1194480:bf#8192:ff#1024:\
  114.         :pg#3581760:bg#8192:fg#1024:\
  115.         :ph#45360:bh#8192:fh#1024:\
  116.         :pi#2427600:bi#8192:fi#1024:\
  117.         :pj#1280160:bj#8192:fj#1024:\
  118.         :pk#85680:bk#8192:fk#1024:\
  119.         :pl#1212960:bl#8192:fl#1024:\
  120.         :pm#1214640:bm#8192:fm#1024:
  121.  
  122. Make you own name up, perhaps ST11200N|Segate 1.2Gb Elite:
  123. Just replace the pX# numbers, and the geometry info, and you are away..
  124.  
  125. To newfs, say for partition 2, the command would be:
  126. # newfs.ffs -v -s 3707760 /dev/rdsk/sdc0d<SCSI ID>s2 ST11200N
  127. .... lots of output ....
  128.  
  129.  
  130. --
  131. Rex di Bona (rex@cs.su.oz.au)         Penguin Lust is NOT immoral
  132.