标签: glusterfs
有没有办法让卷设置使用主机名而不是IP地址?
在旧版本的gluster中,我可以使用主机名,通过为主机名提供不同的ip地址(LAN与NAT IP)来使用户挂载gluster文件系统
mount命令返回的LAN IP地址不起作用,但是如果它是服务器的主机名,它将起作用。
option remote-host 192.168.0.10
vs
option remote-host server.example.com