CentOS是Linux发行的社区企业操作系统,不少朋友在使用时遇到了无法挂载Glusterfs的难题,深究原因发现是机器间网络不通畅导致,接下来小编就将教大家轻松搞定CentOS下无法挂载Glusterfs的问题.
执行的mount命令:
mount target_host:/volume_name current_path
执行mount命令后,提示错误信息:
/usr/sbin/start-statd: line 8: systemctl: command not found
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: Operation not permitted
一般情况下,用到Glusterfs存储的地方至少都是两台机器来配置完成的,在各自的机器上能够正常的启动相应的服务,然而,在执行gluster volume info命令查看定义的volume信息时,会发现非本机存储的机器状态为offline,这时无论是在本地还是其他地方做mount 时都不会成功,会提示timeout(链接超时)—— 这就是问题所在,网络不通畅.