NFSv4 seems to work, but share is empty

Norman Elton normelton at gmail.com
Tue Dec 4 09:03:31 EST 2007


I've got NFSv4 all setup with Kerberos. Things seem to work fine. I  
can mount a share as root, but when I do an "ls" on it, it shows up as  
an empty directory.

Am I missing something?

Here's my configuration:

======= /etc/exports on the server:
/exports/local	gss/ 
krb5(rw,wdelay,root_squash,no_subtree_check,anonuid=65534,anongid=65534)
/exports      	gss/ 
krb5 
(ro 
,wdelay,root_squash,no_subtree_check,fsid=0,anonuid=65534,anongid=65534)

======= keytab on the server:
    2 host/server.fqdn at REALM (Triple DES cbc mode with HMAC/sha1)
    2 host/server.fqdn at REALM (ArcFour with HMAC/md5)
    2 host/server.fqdn at REALM (DES with HMAC/sha1)
    2 host/server.fqdn at REALM (DES cbc mode with RSA-MD5)
    5 nfs/server.fqdn at REALM (DES cbc mode with CRC-32)

======= keytab on the client:
    3 host/client.fqdn at REALM (Triple DES cbc mode with HMAC/sha1)
    3 host/client.fqdn at REALM (ArcFour with HMAC/md5)
    3 host/client.fqdn at REALM (DES with HMAC/sha1)
    3 host/client.fqdn at REALM (DES cbc mode with RSA-MD5)
    3 root/client.fqdn at REALM (Triple DES cbc mode with HMAC/sha1)
    3 root/client.fqdn at REALM (ArcFour with HMAC/md5)
    3 root/client.fqdn at REALM (DES with HMAC/sha1)
    3 root/client.fqdn at REALM (DES cbc mode with RSA-MD5)
    5 nfs/client.fqdn at REALM (DES cbc mode with CRC-32)
    6 nfs/client.fqdn at REALM (DES cbc mode with CRC-32)

======= mount command
mount -t nfs4 -osec=krb5 server:/local /imports/

Thanks for any advice!

Norman Elton


More information about the NFSv4 mailing list