NFSv4+Kerberos: Special device does not exist

Johan Marcusson independence at blinkenlights.se
Thu Mar 8 23:11:31 EST 2007


I've been trying to set up Kerberos5 and NFSv4, but I can't mount the
filesystem on my client. I get this when I try to mount:

indy independence # mount -v -t nfs4 -o sec=krb5 saturn:/ /mnt/remote1/
mount: special device saturn:/ does not exist

gssd reports:
Using keytab file '/etc/krb5.keytab'
doing downcall

and in /var/log/messages I get this:
Mar  9 05:01:20 indy rpc.idmapd[9967]: New client: 12
Mar  9 05:01:20 indy rpc.idmapd[9967]:
Opened /var/lib/nfs/rpc_pipefs/nfs/clnt12/idmap
Mar  9 05:01:20 indy rpc.idmapd[9967]: Stale client: 12
Mar  9 05:01:20 indy rpc.idmapd[9967]:  ->
closed /var/lib/nfs/rpc_pipefs/nfs/clnt12/idmap

idmapd doesn't say anything at all.

I don't see anything strange there, but maybe I'm missing something
obvious?

I have added the principal on the server, and made the keytab-files.

I have mounted the virtual filesystems, nfsd and rpc_pipefs. I have
followed the instructions carefully. I do run all the services required
on both client and server.

klist -k lists:
   3 nfs/indy.marcusson.local at MARCUSSON.LOCAL

on the client, and:
   3 nfs/saturn.marcusson.local at MARCUSSON.LOCAL

on the server.

The names saturn and indy is resolvable, and they've both got working
reverse DNS-thingys. The client's /etc/hosts is almost empty, I wasn't
sure if I was supposed to att anything there (felt redundant):

127.0.0.1       localhost


On the server, nothing shows up in the syslog.

Please help me, I've googled for answers for a really long time now but
I can find anything useful :/

Regards, Johan



More information about the NFSv4 mailing list