2003-03-13 13:45:55

by Dave Gilbert (Home)

[permalink] [raw]
Subject: Re: of rmtab and 'Invalid argument' and permission denied]

Neil Brown wrote thus:

that I wrote:
>>Sometimes the client will get a permission denied on attempting to mount
>>from the server even though it managed it a few hours earlier with no
>>change to config of the server.
>>
>>Restarting the nfs server gives a line of the form:
>>
>>clienthostname: Invalid argument

> What does your /etc/exports file look like? Does it have both host
> names and IP addresses?
> Do you export both a directory and an ancestor of that directory on
> the same filesystem?
>
> Both of these can cause this sort of problem.

Thank you! It was exporting both a directory and an ancestor.
Can we have something which screams/shouts/warns/rejects this
rather than failing in an evil and confusing way?

(oh and add it to the NFS FAQ)

> What version of nfs-utils is in SuSE 8.1?
>
> showmount -v

showmount for nfs-utils 0.3.3

Dave



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs