Thread View: comp.sys.next.sysadmin
2 messages
2 total messages
Started by Tigger
Fri, 22 Jan 1993 19:29
hard drive mounting
Author: Tigger
Date: Fri, 22 Jan 1993 19:29
Date: Fri, 22 Jan 1993 19:29
22 lines
1548 bytes
1548 bytes
Okay. We finally bought a reasonable size external SCSI disk to supplement the little 105 that came with our NeXTstation. We installed NextStep on it and are now booting from it. So far, so good. Now I would like to reuse the 105 for something else. I have several ideas, but they all require that the disk mount into the Unix filesystem somewhere other than at the / level. Basically, I would like to override whatever is automatically mounting the sucker as /diskname and mount it somewhere else like I would do with any other Unix system. If this is in a FAQ file somewhere, or in the NextStep 2.x manuals (we don't have the 3.0 docs yet, just the OS), by all means please just point me in the right direction. Otherwise, if someone could be kind enough to tell me how to do this via e-mail, I will be happy to summarize to the group. Thanks. -- Greg Orman greg@pomona.claremont.edu Systems Manager NeXTmail: greg@donald.claremont.edu Seaver Academic Computing Services Pomona College Standard disclaimer-type stuff
Re: hard drive mounting (This should really be a FAQ!!!)
Author: Paul S. Sears
Date: Sat, 23 Jan 1993 17:42
Date: Sat, 23 Jan 1993 17:42
87 lines
3853 bytes
3853 bytes
In article <1993Jan22.192914.11041@muddcs.claremont.edu>
greg@donald.claremont.edu (Tigger) writes:
#Okay. We finally bought a reasonable size external SCSI disk to
supplement
#the little 105 that came with our NeXTstation. We installed NextStep on
it
#and are now booting from it. So far, so good.
#
#Now I would like to reuse the 105 for something else. I have several
ideas,
#but they all require that the disk mount into the Unix filesystem
somewhere
#other than at the / level. Basically, I would like to override whatever
is
#automatically mounting the sucker as /diskname and mount it somewhere
else
#like I would do with any other Unix system.
#
#If this is in a FAQ file somewhere, or in the NextStep 2.x manuals (we
don't
#have the 3.0 docs yet, just the OS), by all means please just point me in
#the right direction. Otherwise, if someone could be kind enough to tell
me
#how to do this via e-mail, I will be happy to summarize to the group.
#
#Thanks.
#
#--
#Greg Orman
greg@pomona.claremont.edu
#Systems Manager NeXTmail:
greg@donald.claremont.edu
#Seaver Academic Computing Services
#Pomona College Standard disclaimer-type
stuff
Put the drive information in /etc/fstab as follows:
I assume that your external drive is SCSI device 0 and your interal is
SCSI device 1 (default address for internal HD in NeXTStations).
If you use "bsd" to boot, then the NeXT will boot from the first SCSI
device it finds, which would be the external drive since it has a lower
id. The first SCSI device is /dev/(r)sd0a. The second is /dev/(r)sd1a.
The third is /dev/(r)sd2a and so on. The second partion of the second
device is /dev/(r)sd1b...
If you look in your /etc/fstab you should see something like the following
(the one below is from my workstation):
#
# DO NOT DELETE THIS FILE, IT IS REQUIRED FOR BOOTING
#
# This file contains information used to mount local hard disks.
# Consult your system administration and networking manual
# for information on adding local disks. Information on the format
# of entries in this file can also be found in the fstab man page,
# search for fstab in Digital Librarian.
#
/dev/sd0a / 4.3 rw,noquota,noauto 0 1
#/dev/sd1a /CD-Rom 4.3 ro,noquota 1 2
The lines beginning with a # are comments are are ignored. The line
/dev/sd0a tells unix to mount the device /dev/sd0a (first SCSI device
found) as / which is the root level and that it is a 4.3bsd filesystem,
with read and write, no quotas and do not automount it.
Add a line like
/dev/sd1a /desired/path 4.3 rw,noquota 1 2
to your /etc/fstab and the internal disk will be mounted at /desired/path.
Btw, the line with
#/dev/sd1a /CD-Rom 4.3 ro,noquota 1 2
shows how I would mount a NS3.0 CD-Rom for exporting to the cluster (you
must mount it READONLY!!).
--
Paul S. Sears * sears@uh.edu (NeXT Mail OK)
The University of Houston * suggestions@tree.egr.uh.edu (NeXT
Engineering Computing Center * comments, complaints, questions)
NeXT System Administration * DoD#1967 '83 NightHawk 650SC
>>> SSI Diving Certification #755020059 <<<
"Programming is like sex: One mistake and you support it a lifetime."
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads