?
Solved

Trouble mounting Centos NFS on boot with fstab

Posted on 2013-01-02
3
Medium Priority
?
529 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

WordPress Tutorial 3: Plugins, Themes, and Widgets

The three most common changes you will make to your website involve the look (themes), the functionality (plugins), and modular elements (widgets).

In this article we will briefly define each again, and give you directions on how to install them.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses
Course of the Month10 days, 6 hours left to enroll

765 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