Failed to mount NFS in Linux. Error: mount. nfs: Connection timed out

Source: Internet
Author: User

Failed to mount NFS in Linux. Error: mount. nfs: Connection timed out

When ZTE distributed storage is mounted on the transcoding service platform today, the following error occurs:

Linux-82ke :~ # Mount-t nfs 192.168.202.60:/mnt/zxdfs/CM_South23/root/cccloud_tenant_id10001155/mnt/D989/60/mnt/wfs10-v
Mount. nfs: timeout set for Wed Jul 30 15:39:52 2014
Mount. nfs: trying text-based options 'vers = 4, addr = 192.168.202.60, clientaddr = 192.168.199.4'
Mount. nfs: mount (2): No such file or directory
Mount. nfs: trying text-based options 'addr = 192.168.202.60'
Mount. nfs: prog 100003, trying vers = 3, prot = 6
Mount. nfs: trying 192.168.202.60 prog 100003 vers 3 prot TCP port 2049
Mount. nfs: prog 100005, trying vers = 3, prot = 17
Mount. nfs: trying 192.168.202.60 prog 100005 vers 3 prot UDP port 39325
Mount. nfs: mount (2): Connection timed out
Mount. nfs: trying text-based options 'vers = 4, addr = 192.168.202.60, clientaddr = 192.168.199.4'
Mount. nfs: mount (2): No such file or directory
Mount. nfs: trying text-based options 'addr = 192.168.202.60'
Mount. nfs: prog 100003, trying vers = 3, prot = 6
Mount. nfs: trying 192.168.202.60 prog 100003 vers 3 prot TCP port 2049
Mount. nfs: prog 100005, trying vers = 3, prot = 17
Mount. nfs: trying 192.168.202.60 prog 100005 vers 3 prot UDP port 32954
Mount. nfs: mount (2): Connection timed out
Mount. nfs: trying text-based options 'vers = 4, addr = 192.168.202.60, clientaddr = 192.168.199.4'
Mount. nfs: mount (2): No such file or directory
Mount. nfs: trying text-based options 'addr = 192.168.202.60'
Mount. nfs: prog 100003, trying vers = 3, prot = 6
Mount. nfs: trying 192.168.202.60 prog 100003 vers 3 prot TCP port 2049
Mount. nfs: prog 100005, trying vers = 3, prot = 17
Mount. nfs: trying 192.168.202.60 prog 100005 vers 3 prot UDP port 37809
Mount. nfs: mount (2): Connection timed out
Mount. nfs: Connection timed out

The/etc/exports configuration for ZTE distributed storage is as follows:
/Data 192.168.199. * (rw, no_root_squash, sync, no_subtree_check)
 
However, if you change/etc/exports:
/Data/test 192.168.199.4 (rw, no_root_squash, sync, no_subtree_check)
 
Mounting is successful again.
After inadvertently using the following configuration, it was actually normal:
/Data 192.168.199.0/24 (rw, no_root_squash, sync, no_subtree_check)

-------------------------------------- Split line --------------------------------------

Install NFS server in Ubuntu 12.04

Install and configure the NFS server to share the Ubuntu 12.04 and ARM files.

Build an nfs server in Ubuntu

File Server NFS configuration details

Build an NFS Network File System server in Ubuntu

Heartbeat_ldirector + LB + NFS for HA, LB, and file sharing

How to Configure NFS server in CentOS 5.5

Install and use NFS in Ubuntu 12.10

-------------------------------------- Split line --------------------------------------

This article permanently updates the link address:

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.