Skip to contentSkip to conversation

of rmtab and 'Invalid argument' and permission denied]

DISCUSSION Dave Gilbert (Home) 2 participants 2 messages Mar 13, 2003 – Mar 14, 2003 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20030309213151.GK747@gallifrey

#1 lore raw

Neil Brown wrote thus:

Quoted 6 lines · that I
Quoted 6 lines

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:

Quoted 7 lines
Quoted 1 line

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)

Quoted 3 lines

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

#2 lore raw
Quoted 16 lines · On Thursday March 13, [email protected] wrote:

Neil Brown wrote thus:

Quoted 13 lines · that I
Quoted 7 lines

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?

Quoted 5 lines
Quoted 1 line

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?

It would be nice.... but I'm currently more interested in getting nfs-utils to support the new interfaces in 2.5...

Quoted 2 lines

(oh and add it to the NFS FAQ)

Isn't it there??? Should be added then.

Quoted 6 lines
Quoted 4 lines

What version of nfs-utils is in SuSE 8.1?

showmount -v

showmount for nfs-utils 0.3.3

Thats getting a bit old. 1.0 have been out for a while and fixed the problem I hinted related to host-names and IP addresses in the same /etc/exports file.

NeilBrown

-------------------------------------------------------
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