zoukankan      html  css  js  c++  java
  • 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 
  • 相关阅读:
    python socket 二进制
    全面介绍内存管理机制
    glog修改
    mysql c api
    http twisted
    IOCP 模型1
    IOCP 模型2 AcceptEx
    python
    Python Twisted
    Java 拾遗
  • 原文地址:https://www.cnblogs.com/sodu88/p/NFS_Server_Returned_Rrror_13.html
Copyright © 2011-2022 走看看