NFS File Mounting error in centOS
7,523
yum install nfs-utils nfs-utils-lib
chkconfig nfs on
service rpcbind start
service nfs start
Client side:
chkconfig netfs on
sudo mount -t nfs 172.31.46.199:/home/user/landingzone /mnt/NFS
Related videos on Youtube
Author by
CentosUser
Updated on September 18, 2022Comments
-
CentosUser over 1 year
I'm trying to mount server filesystem using NFS in centos. But I'm getting Connection timed out error.
Below are the steps I followed.At server side:
[centos@ip-172-31-46-199 landingzone]$ sudo vi /etc/exports /home/user/landingzone 172.31.37.128(rw,sync,no_root_squash) sudo exportfs -av <br> exporting 172.31.37.128:/home/user/landingzone
At Client Side:
sudo mkdir /mnt/NFS [centos@ip-172-31-37-128 ~]$ cd /mnt [centos@ip-172-31-37-128 mnt]$ ls nfs NFS tecmint <br>[centos@ip-172-31-37-128 mnt]$ sudo mount 172.31.46.199:/home/user/landingzone /mnt/NFS mount.nfs: Connection timed out
FYI, I started NFS service.
-
Admin about 9 years"/home/swathim/landingzone" != "/home/user/landingzone"... Although that should result in a "Permission denied", not a "Connection timed out". I suspect one or more daemon isn't running on your server.
-
taliezin about 9 yearsis the service nfs started?
-