Mounting NFS: owners are nobody:nogroup

  • kinit, then look at klist. You should see a ticket; if not, look for answers on how to fix Kerberos auth first.
  • is rpc.gssd running? You might want to start the service; also, on some distributions, it doesn't autostart unless you mention NFS mounts with krb5* in their options in your /etc/fstab.
  • is rpc.idmapd running? (Again, this should typically be launched by a client-side nfs service; ls /etc/init.d/ is a good starting point.
  • look at /etc/idmapd.conf. Does the "Domain" part match the actual domain of your NFS server? (... if nothing else, you could try using the Kerberos realm.) I've seen distributions where this wasn't needed and some where it was; maybe on some, it has more reasonable defaults for an FQDN.
  • also add GSS_principal_attr = GSSAuthName to the file. Just the domain might fix some ownership issues, but looks like this is also needed for e.g. directories.
  • restart at least rpc.idmapd once adjusting the config. A remount shouldn't be necessary after adjusting the config, but it doesn't hurt.
  • also! nfsidmap -c. Apparently, there is a cache that doesn't get cleared even with a restart; this will clear it. (Otherwise you might keep thinking the fix doesn't work even if it did.)
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值