Subject: Re: linux as NFS server
To: None <>
From: None <>
List: port-pmax
Date: 05/03/1999 10:23:33
On Mon, 3 May 1999, emanuel stiebler wrote:

> Hi all,
> 
> Using always a Decstation running NetBSD as a NFS server for my diskless
> clinets, tried today my linux box as a NFS server.
> 
> No succes.
> 
> any idea, what flags to put in the /etc/exports file besides of the
> "no_root_squash" ?

Did you restart nfs after editing /etc/exports ? i.e. 

	sh /etc/rc.d/init.d/nfs stop
	sh /etc/rc.d/init.d/nfs staart
 
> my exports looks like:
> 
> # This file contains a list of all directories exported to other computers.
> # It is used by rpc.nfsd and rpc.mountd.
> 
> /ASTERIX-HDC3 *.ecubuero(rw,no_root_squash)
> 

Wildcards are a poor idea. Use numeric Network/NetMask to export to a
whole domain, ie:

	/ASTERIX-HDC3	your.network.number/your.netmask (rw,no_root_squash)

for example if your domain is 123.456.789.0 and netmask is 255.255.255.0
it should look like:

	 /ASTERIX-HDC3	123.456.789.0/255.255.255.0 ((rw,no_root_squash)

Cheers,
--
James S. MacKinnon           Office: P-139 Avadh-Bhatia Physics Lab
Team Physics                 Voice : (780) 492-8226 [old AC 403]
University of Alberta        email : Jim.MacKinnon@Phys.UAlberta.CA
Edmonton, Canada T6G 2N5     WWW   : http://www.phys.ualberta.ca/