LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Create NFS Mounts at boot time (https://www.linuxquestions.org/questions/linux-newbie-8/create-nfs-mounts-at-boot-time-250593/)

rwalkerphl 11-03-2004 08:19 AM

Create NFS Mounts at boot time
 
Hi All,

To have NFS running at boot time, I am assuming that an entry needs to be made in the FSTAB file. Can anyone tell me what I need to put there to have the virtual drives mounted.

Also, How do I deal with an NFS drive where the server that Is linked to has fallen over, or been re-booted. It seems that the link is lost. I am looking to do backups from one sever to another for an Oracle database, and have already had the database corrupt where the backup server failed...

Thanks!

Robin.

iluvatar 11-17-2004 02:59 AM

your fstab entry should look like this:

<host>:<directory> <mount point> nfs <options> 0 0

for example I have one like this:
server:/public /mnt/public nfs auto,user,rw 0 0

make sure you have at least the 'auto' option set, wich makes sure it's mounted on boot.
if the nfs mount fails the boot continuous. dig into the nfs server documentation how to deal wich server reboots and crashes, it should be possible to make sure the connection comes up again after dropped automaticly whenever possible, although I don't know how (yet)...

greetz,
.-=~ iluvatar ~=-.


All times are GMT -5. The time now is 12:37 PM.