could use some troubleshooting tips

Seth Galitzer sgsax at ksu.edu
Thu Jul 1 17:37:49 CEST 2004


Nick,

When I use a single IP instead of a netmask, when I restart nfs, I get
an "Invalid argument" error.  Any IP address, local to the machine or
otherwise.

I'm not sure why this machine isn't cooperating, setting up NFS on my
mirror machine went very smoothly.  That machine is running woody and
this one is running sarge.  I don't know what versions of NFS each is
using.

Thanks for all the help.
Seth

On Thu, 2004-07-01 at 09:50, Nicolas Triantafillou wrote:
> Not sure if this helps, i'm using nfs-user-server
> 
> chrome:~# cat /etc/exports
> /usr/local/share/fai kraken(async,ro)
> /usr/lib/fai/nfsroot kraken(async,ro,no_root_squash)
> 
> kraken is the hostname im exporting to, i'm not sure about doing entire 
> subnets, can you test with one ip?
> 
> i'm also not using a netgroup file.
> 
> let me know how you go..
> 
> Nick.
> 
> Seth Galitzer wrote:
> > Michael,
> > 
> > Thanks for the offer.  Here is /etc/exports:
> > 
> > # /etc/exports: the access control list for filesystems which may be
> > exported
> > #               to NFS clients.  See exports(5).
> > /mnt/mirror/debian      192.168.1.0/255.255.255.0(ro,sync)
> > 
> > This is the IP subnet for the internal network (eth1, whose IP address
> > is 192.168.1.1).  I have tried to add the IP of the external NIC (eth0)
> > to /etc/exports, but when I restart nfs, I get an "Invalid argument"
> > error returned.
> > 
> > I do not have an /etc/netgroup file.  I didn't think I needed it,
> > because I didn't need one to be able to mount my mirror from the master
> > node.
> > 
> > Any advice is greatly appreciated.
> > 
> > Thanks.
> > Seth
> > 
> > On Wed, 2004-06-30 at 17:50, Michael Tautschnig wrote:
> > 
> >>>mount: <internal name>:<internal mount point> failed, reason \
> >>>	given by server: Permission denied
> >>>Can't mount  <internal name>:<internal mount point> to \
> >>>	/usr/lib/fai/nfsroot//mnt2.
> >>>No diversion `diversion of /sbin/discover by fai', none removed
> >>>umount: /usr/lib/fai/nfsroot//mnt2: not mounted
> >>>
> >>
> >>Hi!
> >>
> >>This usually means, that your setup of /etc/exports or /etc/netgroup is
> >>not correct. Please check those files and/or send them to the list!
> >>
> >>Regards,
> >>Michael
-- 
Seth Galitzer			sgsax at ksu.edu
Computing Specialist		http://puma.agron.ksu.edu/~sgsax
Dept. of Plant Pathology
Kansas State University



More information about the linux-fai mailing list