Solved

Trouble mounting Centos NFS on boot with fstab

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

810 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