LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-08-2003, 03:35 PM   #1
cozye
Member
 
Registered: Nov 2003
Location: Louisville, KY
Distribution: Slackware
Posts: 46

Rep: Reputation: 15
NFS mount in /etc/fstab ?


I have a server running RH 8. This server has some backup sripts that copy some stuff out to an NFS share on a Unix machine. I have added the NFS mount point to /etc/fstab and it does not mount on startup. Anyone know why ?

If I do a mount -a it will mount
If I put mount -a in rc.local it will mount
All network service startup as usual, netfs is S25. DNS etc.. all works ok.

Any ideas ?
 
Old 12-08-2003, 03:50 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Can you give us or post what you put in your fstab file to mount the NFS? We don't know or can't guess what's wrong. Any error messages?
 
Old 12-08-2003, 04:01 PM   #3
cozye
Member
 
Registered: Nov 2003
Location: Louisville, KY
Distribution: Slackware
Posts: 46

Original Poster
Rep: Reputation: 15
saptst01:/sci /mnt/sci nfs rw,soft,bg,intr 0 0

no error messages in startup. It just doesn't mount.
I assume the syntax works fine because a plain 'mount -a' will mount it.
 
Old 09-12-2014, 03:48 PM   #4
Garlic Overtone
LQ Newbie
 
Registered: Jun 2005
Distribution: Fedora Core
Posts: 6

Rep: Reputation: 0
[solved]

Apologies for bumping this, but I had the exact same problem just a few minutes ago, and I solved it.

As it turns out, on this system (RHEL 6.4, for the curious), /mnt was a symlink to /var/mnt. So when I made a mountmount in what I thought was /mnt/derp, and then tried to execute
Code:
mount /mnt/derp
, I got this error.

Once I modified /etc/fstab to change /mnt/derp to /var/mnt/derp, I was able to get it working.
Code:
mount -a
also worked. I do not know why.

Apologies for the thread necromancy, but since this thread was the first link in a duckduckgo search, I felt I should contribute a solution.

TL;DR: check readlink to be sure your mountpoint is where you think it is..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 13 04-11-2016 11:30 PM
nfs: fstab will not mount at boot tredegar Linux - Networking 15 08-13-2013 04:24 PM
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
nfs mount with fstab vs autofs rrich100 Linux - Networking 2 11-13-2003 10:21 PM
how do I mount with nfs in fstab? Falafel Linux - Networking 1 11-13-2003 12:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration