zoukankan      html  css  js  c++  java
  • windows挂载gluseter NFS卷

    windows下挂载gluster提供的NFS卷

    服务器端的配置:

    首先配置好NFS共享,找一台linux试一下,确保挂载成功。linux客户端执行:mount.nfs 10.33.70.20:test_vol /mnt/ssd/

    然后在服务器端执行:

    gluster volume set test_vol nfs.volume-access read-write

    gluster volume set test_vol storage.owner-gid 0

    gluster volume set test_vol nfs.rpc-auth-allow 10.33.*.*

    systemctl restart glusterd.service

    windows客户端执行以下:

     Install NFS services for Windows

    Start Registry Editor

    Locate HKEY_LOCAL_MACHINESOFTWAREMicrosoftClientForNFS CurrentVersionDefault 

    Create two DWORD values named AnonymousUid and AnonymousGid. these values is 0

    reboot windows

    Run cmd

    mount -o anon x.x.x.x:/test_vol z:

     此时配置完成。

    服务器端查看命令

    showmount -e

    showmount

    相应glusterfs的配置参数参考

    https://docs.gluster.org/en/latest/Administrator%20Guide/Managing%20Volumes/

  • 相关阅读:
    P1082 同余方程
    P2678 跳石头
    P2827 蚯蚓
    P1351 联合权值
    P2822 组合数问题
    P3958 奶酪
    P2296 寻找道路
    P2661 信息传递
    平时问题总结
    平时总结
  • 原文地址:https://www.cnblogs.com/tcicy/p/10000710.html
Copyright © 2011-2022 走看看