Solved

Trouble mounting Centos NFS on boot with fstab

Posted on 2013-01-02
3
514 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 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SFP configuration on a Linux server 8 239
deny acl with basic authentication user on squid 7 83
Linux neworking 4 132
Install XRDP on Ubuntu Server 16.10 x64 3 58
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

740 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