could use some troubleshooting tips

Nicolas Triantafillou nick at uow.edu.au
Thu Jul 1 17:40:53 CEST 2004


Seth,

How are you restarting nfs? using the /etc/init.d/ script ?

I can see your error on the client, can you paste the server log which 
is showing 'invalid argument'? is nfs support compiled into your kernel?

Nick.

Seth Galitzer wrote:
> 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



More information about the linux-fai mailing list