Solved

Trouble mounting Centos NFS on boot with fstab

Posted on 2013-01-02
3
476 Views
Last Modified: 2013-01-02
Whenever I reboot my server my NFS drives do not mount.  When I runt mount -a they mount no problem.  Just a pain to have to remember to do this manually.  This is what my /etc/fstab looks like.  Its the bottom 2 lines that fail on boot.

[ ~]# cat /etc/fstab
/dev/VolGroup00/LogVol00 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0
ms1.abc.net:/var/media /var/media nfs rw,intr,soft,timeo=15 0 0
nss1.abc.net:/mnt/RAIDA/DATA/backup /var/nss nfs rw,intr,soft,timeo=15 0 0

Open in new window

0
Comment
Question by:ipconfig610
  • 2
3 Comments
 
LVL 31

Expert Comment

by:farzanj
ID: 38737220
Issue these commands and show the results:

cd /etc/rc.d/rc3.d
ls S*network S*netfs

Open in new window


This assumes that your current run level is 3.

If you are not sure, issue command
runlevel

or
who -r

If run level is 5, you have to cd to :
cd /etc/rc.d/rc5.d
0
 

Author Comment

by:ipconfig610
ID: 38737361
The current run level is set to 3.  Here is the result of netnfs:

S10network
0
 
LVL 31

Accepted Solution

by:
farzanj earned 500 total points
ID: 38737401
It so appears that your netfs service is not running which is strange.

Please issue command

ntsysv

And look for service netfs

Or you can use

chkconfig --list  | grep netfs

chkconfig netfs on
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now