Unable to mount Glusterfs causes and workarounds under Linux (CentOS)

Source: Internet
Author: User
Tags glusterfs gluster

Execute the Mount command:

Mount Target_host:/volume_name Current_path


Prompt for error message after executing mount command

/usr/sbin/start-statd:line 8:systemctl:command not found
MOUNT.NFS:RPC.STATD is isn't running but was required for remote locking.
Mount.nfs:Either use '-o nolock ' to keep locks local, or start statd.
Mount.nfs:Operation not permitted


In general, the place where the Glusterfs storage is used is at least two machines to be configured, the corresponding service can be started properly on the respective machine, however, when the Gluster volume Info command is executed to view the volume information defined, Will find the machine status of non-native storage is offline, at this time, either locally or elsewhere do not succeed in Mount, will prompt timeout (link timeout)-This is the problem (network is not smooth);


At this point, you need to deal with the network configuration between machines, here are two points:

1, look at the iptables configuration of each machine, back up the iptables configuration (/etc/sysconfig/iptables), and then export the effective iptables (service iptables Save), Check to verify that the existing and pre-export configuration is different, the existing repair, and finally restart the Iptables services (service iptables restart);

2, check whether the IP configuration of each machine changes (ifconfig), whether the same network segment, if the configuration changes, then change back to the original configuration, restart the Network Service (service network restart);


After the above network problem is resolved, execute Mount Target_host:/volume_name current_path (typically does not require the parameter-T glusterfs) to complete the volume of the Gluster management, at this time, if the mount fails, Then add the-t parameter, which is mount-t glusterfs target_host:/volume_name Current_path


This article from "Good memory than bad writing" blog, please be sure to keep this source http://gytian.blog.51cto.com/1065457/1615590

Unable to mount Glusterfs causes and workarounds under Linux (CentOS)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.