NFS挂载

作者: 疲马羁禽 | 来源:发表于2016-10-10 16:01 被阅读33次
    平台 centos7
    192.168.1.100 上的/home 目录挂载到 192.168.1.200 的 /mnt 目录下

    192.168.1.100

    # yum install rpcbind
    # yum install nfs-utils
    # service rpcbind start
    # service nfs start
    # vi /etc/exports
    /home  *(rw,sync,no_root_squash,insecure)
    # service nfs restart
    

    192.168.1.200

    # showmount -e 192.168.1.100
    Export list for 192.168.1.100:
    /root/RAMCloud 
    # mount -t nfs 192.168.1.100:/home /mnt
    

    相关文章

      网友评论

          本文标题:NFS挂载

          本文链接:https://www.haomeiwen.com/subject/heqvyttx.html