The CentOS system prompts an error when mounting Glusterfs, which causes Glusterfs to be unmounted. This problem is mainly caused by the fact that the machine is not smooth. The following is a brief introduction to the solution that CentOS cannot mount Glusterfs. .
mount command is executed:
mount target_host: after /volume_name current_path
execute mount command, an error message
/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
In general, where Glusterfs is stored, at least two machines are configured. After the completion, the corresponding service can be started normally on the respective machine; however, when the gluster volume info command is executed to view the defined volume information, the machine state of the non-native storage is found to be offline, whether it is local or not. Other places will not succeed when doing mount, will prompt timeout (link timeout) —— This is the problem (network is not smooth);
At this time, you need to deal with the network configuration between machines, here There are two points:
1, check the iptables configuration of each machine, backup iptables configuration (/etc/sysconfig/iptables), and then export the effective iptables (service iptables save), check the existing and Whether the configuration before export is different, if it exists, it will be repaired, and finally restart the iptables service (service iptables restart);
2. Check whether the IP configuration of each machine changes (ifconfig), whether it is on the same network segment, if configured If there is a change, change back to the original configuration and restart the network service (service network restart);
After the above network problem is solved, execute mount target_host:/volume_name current_path again (generally no parameter -t glusterfs) to complete the gluster The mounted volume is mounted; at this time, if the mount fails, the -t parameter is added, ie mount -t glusterfs target_host:/volume_name current_path
The above is the reason and solution after CentOS mounts Glusterfs failed. The introduction, after the problem appears, you may wish to check the network configuration between the machines.
l2tp is the Internet tunneling protocol, through the l2tp settings can achieve system networking, th
Many people dont know what UUCP is doing in Unix. In fact, UUCP is not as complicated as everyone th
The sudo command can be used to increase permissions, but in Ubuntu system operatio
The iotop command in Linux is mainly used to display the hard disk IO, but the comm
What if Ubuntu can't install vim?
Using Linux routing and forwarding function to share the Internet
How to copy files between two Linux computers
The difference between Linux and Windows systems
Solution for Lantern tool cannot be started under Linux system
How to install and set up MQ in Linux
Ubuntu how to use PPA to install Pragha player
Ubuntu install vim plugin steps
Lubuntu prompts mixed error solutions when using Docky
CentOS python version is too low How to manually upgrade?
See if XP is the original version of
Win XP can't open several ways to deal with the network neighborhood
How is the win7 system slowing down?
Win10 start menu too many shortcuts cause crashes how to do
Teach you how to install Windows 10 Preview on Mac?
Win10 system can not play CF how to do
Window7 system installation tutorial steps
Reasonable setting of Vista common problems to solve six methods