"mount: File exists" when trying to mount a second krb5 volume!

Open Source opensource3141 at yahoo.com
Wed Oct 25 21:56:43 EDT 2006


Hi,

I am having a very similar problem to the one reported
by Joachim Selke on this list (2006/10/21).

I recently upgraded my client and server side kernels
to 2.6.18.  I am unable to mount a second NFSv3+krb5
share after already mounting one on the system.  I get
the error

mount.nfs: File exists

I have no problems when performing the same with the
client running 2.6.17 and the server running 2.6.18.  The
one thing I have noticed new for 2.6.18 is the fscache
module.  I have not enabled it but it is getting loaded
automatically by nfs.  Might this be a problem?  Does
anyone know how to turn it off entirely (e.g., a kernel
boot option or a modprobe.conf option)?

I have been using NFSv3+krb5 for a long time with no
problems.  My exports file on the server looks like:

/export/data gss/krb5(secure,rw,sync,wdelay,hide,no_subtree_check,auth_nlm,root_squash,anonuid=65534,anongid=65534)
/export/data 192.168.0.0/24(secure,ro,sync,all_squash,anonuid=65534,anongid=65534)

which is the accepted way to export a NFSv3+krb5
volume since the non-krb5 export is used for mounting
and the krb5 export is used for actual directory browsing.

(Also, for completeness my distribution is FC5 on the
client and the server except for a slight version upgrade
of util-linux and nfs-utils on the server to get around the
following problem:
http://linux-nfs.org/pipermail/nfsv4/2006-July/004694.html.)

This is a very important issue for me so whatever advice
you can provide would be much appreciated.  I am happy
to provide more debugging information if you can tell me
what to turn on.  With my current installation I see *nothing*
in /var/log/messages on either the server or the client
when mount spits out its error.

Thanks in advance,
Paarvai






More information about the NFSv4 mailing list