Solved

Trouble mounting Centos NFS on boot with fstab

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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

Suggested Solutions

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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

738 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