[comp.unix.aux] Setting up NFS clients ???

bourkej@ul.ie (02/14/91)

Has anyone any words of wisdom on setting up AUX 2.0 as a NFS client ?  Is
is straight forward or are there some hidden traps.  We have a few UNIXs
running ok with NFS but AUX doesn't seem to be as easy as the others.

John Bourke								 O-O
Systems Support,			<bourkej@ul.ie>			  | 
Information Technology Department,	Phone: +353 61 333644 x2008	# _ #
University Of Limerick, Ireland.	FAX:   +353 61 330316		 ###

mikel@berlioz.nsc.com (Michael G. Lohmeyer) (02/17/91)

In article <16539.27b970c8@ul.ie> bourkej@ul.ie writes:
>Has anyone any words of wisdom on setting up AUX 2.0 as a NFS client ?  Is
>is straight forward or are there some hidden traps.  We have a few UNIXs
>running ok with NFS but AUX doesn't seem to be as easy as the others.
>
>John Bourke								 O-O

     The procedure is fairly simple to set up NFS on A/UX 2.0.  First, 
you must use newconfig to add the NFS stuff to the kernal:

	newconfig nfs

(presuming that you have set up the TCP/IP stuff already).  Then you also
need to edit a couple files.  They are the /etc/exports file and the 
/etc/fstab (on the machine that wishes to mount the A/UX machine's disk).
/etc/exports might look like this:

	/usr/local
	/users
	/		frodo

which would only allow any machine on the network to mount /usr/local and
/users, but only frodo can mount /.  The /etc/fstab file on the other
machines might look like this (add lines like this to /etc/fstab):

bilbo:/usr/local             /nfs/usr/local       nfs rw,soft,bg,timeo=14 0 0
bilbo:/users                 /nfs/users           nfs rw,soft,bg,timeo=14 0 0

assuming that the machine that you want to become an nfs server is called
bilbo.  This would mount /usr/local and /users on bilbo as /nfs/usr/local
and /nfs/users on the machine that has this fstab file.  Reboot all the
machines and things will start up.

     This is just a quick example.  To get the full story, use the man
command on the A/UX machine to read about fstab, exports and mount.

     If there are any problems getting NFS to work, it is most likely related
to having not set up exports correctly, or having forgotten to link nfs
into the kernal with newconfig.

     By the way.  I had trouble getting NFS to work when I set up the
exports file to allow only specific machines to nfs mount certain points
like:

	/		frodo

The problem when away when I removed the machine name (frodo in this case)
form the exports file and allowed everyone to mount the volume.  This
may be another source of problems with NFS.  I haven't had time to go back
and figure out why this did not work.

Mike
-------------
Mike Lohmeyer				mikel@berlioz.nsc.com
National Semiconductor Corporation	
(408) 721-8075

liam@cs.qmw.ac.uk (William Roberts;) (02/19/91)

In <16539.27b970c8@ul.ie> bourkej@ul.ie writes:

>Has anyone any words of wisdom on setting up AUX 2.0 as a NFS client ?  Is
>is straight forward or are there some hidden traps.  We have a few UNIXs
>running ok with NFS but AUX doesn't seem to be as easy as the others.

Try typing

    /etc/newconfig nfs

which should do the trick, including asking you the necessary questions. This 
should have been somewhere in the documentation you received with your system: 
if you didn't receive any documentation at all then complain bitterly!
--

William Roberts                 ARPA: liam@cs.qmw.ac.uk
Queen Mary & Westfield College  UUCP: liam@qmw-cs.UUCP
Mile End Road                   AppleLink: UK0087
LONDON, E1 4NS, UK              Tel:  071-975 5250 (Fax: 081-980 6533)