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: