Skip to content

Mount NFS after network interface is up.

The problem that we face during system boot is that while the system is booting the auto-mounter reads the /etc/fstab file and boots the filesystem. And as the network interface is still not up , system is unable to mount Network File System. So our NFS mount points fails as there is no  network available.

  To solve this issue we can use the mount option “_netdev“.

Check the mount map page:

So add the below entry in /etc/fstab file while mount NFS file system:     /Dist/data  nfs defaults,_netdev 0 0

Note:  _netdev nevver mounts the Network file system if network is not up and running

Now: check the below service:

/etc/init.d/netfs status
/etc/init.d/netfs start

Leave a Reply

Your email address will not be published. Required fields are marked *