home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / next / sysadmin / 7596 < prev    next >
Encoding:
Internet Message Format  |  1993-01-24  |  3.7 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!menudo.uh.edu!menudo.uh.edu!usenet
  2. From: sears@tree.egr.uh.edu (Paul S. Sears)
  3. Newsgroups: comp.sys.next.sysadmin
  4. Subject: Re: hard drive mounting (This should really be a FAQ!!!)
  5. Date: 23 Jan 1993 17:42:56 GMT
  6. Organization: University of Houston
  7. Lines: 87
  8. Message-ID: <1js030INN4d4@menudo.uh.edu>
  9. References: <1993Jan22.192914.11041@muddcs.claremont.edu>
  10. Reply-To: sears@uh.edu
  11. NNTP-Posting-Host: thanatos.egr.uh.edu
  12.  
  13. In article <1993Jan22.192914.11041@muddcs.claremont.edu>  
  14. greg@donald.claremont.edu (Tigger) writes:
  15. #Okay.  We finally bought a reasonable size external SCSI disk to  
  16. supplement
  17. #the little 105 that came with our NeXTstation.  We installed NextStep on  
  18. it
  19. #and are now booting from it.  So far, so good.
  20. #
  21. #Now I would like to reuse the 105 for something else.  I have several  
  22. ideas,
  23. #but they all require that the disk mount into the Unix filesystem  
  24. somewhere
  25. #other than at the / level.  Basically, I would like to override whatever  
  26. is
  27. #automatically mounting the sucker as /diskname and mount it somewhere  
  28. else
  29. #like I would do with any other Unix system.
  30. #
  31. #If this is in a FAQ file somewhere, or in the NextStep 2.x manuals (we  
  32. don't
  33. #have the 3.0 docs yet, just the OS), by all means please just point me in
  34. #the right direction.  Otherwise, if someone could be kind enough to tell  
  35. me
  36. #how to do this via e-mail, I will be happy to summarize to the group.
  37. #
  38. #Thanks.
  39. #
  40. #--
  41. #Greg Orman                                        
  42. greg@pomona.claremont.edu
  43. #Systems Manager                        NeXTmail:  
  44. greg@donald.claremont.edu
  45. #Seaver Academic Computing Services
  46. #Pomona College                              Standard disclaimer-type  
  47. stuff
  48.  
  49. Put the drive information in /etc/fstab as follows:
  50.  
  51. I assume that your external drive is SCSI device 0 and your interal is  
  52. SCSI device 1 (default address for internal HD in NeXTStations).
  53.  
  54. If you use "bsd" to boot, then the NeXT will boot from the first SCSI  
  55. device it finds, which would be the external drive since it has a lower  
  56. id.  The first SCSI device is /dev/(r)sd0a.  The second is /dev/(r)sd1a.   
  57. The third is /dev/(r)sd2a and so on.  The second partion of the second  
  58. device is /dev/(r)sd1b...
  59.  
  60. If you look in your /etc/fstab you should see something like the following  
  61. (the one below is from my workstation):
  62.  
  63. #
  64. #    DO NOT DELETE THIS FILE, IT IS REQUIRED FOR BOOTING
  65. #
  66. #    This file contains information used to mount local hard disks.  
  67. #    Consult your system administration and networking manual
  68. #    for information on adding local disks.  Information on the format
  69. #    of entries in this file can also be found in the fstab man page,
  70. #    search for fstab in Digital Librarian.
  71. #
  72. /dev/sd0a / 4.3 rw,noquota,noauto 0 1
  73. #/dev/sd1a /CD-Rom 4.3 ro,noquota 1 2
  74.  
  75.  
  76. The lines beginning with a # are comments are are ignored.  The line  
  77. /dev/sd0a tells unix to mount the device /dev/sd0a (first SCSI device  
  78. found) as / which is the root level and that it is a 4.3bsd filesystem,  
  79. with read and write, no quotas and do not automount it.
  80.  
  81. Add a line like
  82.  
  83. /dev/sd1a /desired/path 4.3 rw,noquota 1 2
  84.  
  85. to your /etc/fstab and the internal disk will be mounted at /desired/path.
  86.  
  87. Btw, the line with
  88. #/dev/sd1a /CD-Rom 4.3 ro,noquota 1 2
  89.  
  90. shows how I would mount a NS3.0 CD-Rom for exporting to the cluster (you  
  91. must mount it READONLY!!).
  92.  
  93. --
  94. Paul S. Sears                *  sears@uh.edu (NeXT Mail OK)
  95. The University of Houston    *  suggestions@tree.egr.uh.edu (NeXT
  96. Engineering Computing Center *  comments, complaints, questions)
  97. NeXT System Administration   *  DoD#1967 '83 NightHawk 650SC 
  98.           >>> SSI Diving Certification #755020059 <<<
  99. "Programming is like sex: One mistake and you support it a lifetime."
  100.