Got it

NFS Lock Services Are Affected Due to Firewall Shielding of Some Ports

105 0 0 0 0

Symptom:

When a client uses NFS to connect to the V3 NAS, the file fails to be locked.

Analysis:

Capture packets and analyze the captured packets. It is found that V3 receives an ICMP packet when an exception occurs.

3 10 Destination host administratively prohibited

The V3 NLM uses the asynchronous mode. That is, the V3 rejects the lock request (NLM_BLOCKED) from the client, and then actively connects to port 111 of the client to inform the client that the lock is available. Therefore, the port 111 of the client must be open.

1

Solution:

Enable the firewall on port 111 on the client.

iptables -A input -p tcp --dport 111 -j ACCEPT

Run the following command to make the configuration persistent:

service iptables save

or

iptables-save > /etc/sysconfig/iptables

Summary:

You can learn the types of ICMP packets to quickly locate firewall faults.


Comment

You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.