Re: Mounting an NFS directory in /etc/fstab

Posted by DK907 on 2011/12/4 0:30:25
Quote:

pschaff wrote:
Not a very realistic environment but I guess one has to make do with available resources. You could add the mount command in /etc/rc.d/rc.local that runs at the end of the boot.

Thank you, that worked. I added
mount.nfs david.example.com:/shares /mnt/nfs

to /etc/rc.d/rc.local and it worked.
I am curious to know if it is theoretically possible to use NFS to mount a directory that is on the local host at boot using /etc/fstab. It is not important because it is the results that count.

This Post was from: https://www.centos.org/newbb/viewtopic.php?forum=56&topic_id=34540&post_id=148580