NFS 挂载时提示:Root-NFS: Server returned error -13

修改配置文件,重启服务即可解决:

sudo vim /etc/exports
# /etc/exports: the access control list for filesystems which may be exported                                                         
#       to NFS clients.  See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes       hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)
#
# Example for NFSv4:
# /srv/nfs4        gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
# /srv/nfs4/homes  gss/krb5i(rw,sync,no_subtree_check)
#
 /home/licg/root_nfs  *(rw,sync,no_root_squash)

重启NFS服务:

sudo /etc/init.d/nfs-kernel-server restart 

 

posted @ 2015-12-08 22:11  小白托罗夫斯基  阅读(2007)  评论(0编辑  收藏  举报