在 18.04 客户端上,NFS4 over Kerberos 可以很好地与旧的 ubuntu 10.04 nfs4 服务器兼容。但是,它无法与 Netapp FAS3140(可从 14.04 客户端访问)兼容。
client_18.04_# mount -v netapp:/resource /mont/netapp-res -t nfs4 -o sec=krb5
mount.nfs4: timeout set for Thu Aug 2 10:13:25 2018
mount.nfs4: trying text-based options 'sec=krb5,vers=4.2,addr=xxxx,clientaddr=yyyy'
mount.nfs4: mount(2): Protocol not supported
mount.nfs4: trying text-based options 'sec=krb5,vers=4.1,addr=xxxx,clientaddr=yyyy'
mount.nfs4: mount(2): Protocol not supported
mount.nfs4: trying text-based options 'sec=krb5,vers=4.0,addr=xxxx,clientaddr=yyyy'
mount.nfs4: mount(2): Permission denied
client_18.04_# klist /tmp/krb5ccmachine_... # shows a krbtgt only, no nfs ticket
这适用于 Ubuntu Kernel 4.15.0-20-generic 和 4.15.0-29-generic (amd64)。原始内核 4.14.0 就可以了。
我怎样才能帮助追踪此类错误?