nfs挂载报错问题

nfs正常挂载后,新加了一块阿里oss磁盘,报如下错误

mount.nfs: access denied by server while mounting 10...**:/app/im_attach/

解决办法,在nfs客户端vim /etc/exports添加fsid=0

/app/im_attach *(fsid=0,insecure,rw,sync,insecure,no_subtree_check,no_root_squash)

执行exportfs -r,在进行挂载即可解决

你可能感兴趣的:(NFS,linux,nfs)