Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-25-2012, 06:57 AM   #1
Registered: Sep 2011
Posts: 52

Rep: Reputation: Disabled
NFS quesiton /etc/exports contains 1 table ; exportfs produces another

Hey Guys,
I am running some tests on one RHEL x86_64 5.6 machine.

-bash-3.2# uname -a
Linux 2.6.18-238.5.1.el5 #1 SMP Mon Feb 21 05:52:39 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
-bash-3.2# rpm -qa | grep nfs

My current /etc/exports file looks like this :
/boot/jumpstart *(ro,no_root_squash,async)
/boot/js-x86 *(ro,no_root_squash,async)

Why is it that when i do exportfs i see additional entries (which were probably added before i changed the /etc/exports file ? Why didn`t those entries go away once I edited the /etc/exports file & restarted all nfs services. Those entries should no longer be used IMO.Where can i find them if i want to remove them ? I recall some xtab file but i couldnt find any information there.

-bash-3.2# exportfs


I also saw a couple of interesting error messages when restarting the nfs services:
-bash-3.2# service portmap start
Starting portmap: [ OK ]
-bash-3.2# service nfs start
FATAL: Module nfsd not found.
FATAL: Error running install command for nfsd
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd: [ OK ]
-bash-3.2# service nfslock start
FATAL: Module lockd not found.
Starting NFS statd: [ OK ]
Old 07-25-2012, 08:49 AM   #2
Registered: Sep 2011
Posts: 52

Original Poster
Rep: Reputation: Disabled
Ok i have found why it displays this strange entry. Its because i have it in the /etc/hosts file.
I have also found why nfs didnt start up properly.
I had to ps -ef | grep nfs
for the process id and stop it.
And then i checked /etc/init.d/rpcidmapd status
and stopped it. Please close the thread!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
exportfs does not export info to /proc/fs/nfs/exports rhelaine Linux - Networking 6 06-16-2011 04:19 AM
[SOLVED] NFS exports do not show up in /proc/fs/nfs/exports Gerard_2009 Linux - Server 2 09-07-2010 04:06 PM
exportfs does not export info to /proc/fs/nfs/exports rhelaine Linux - Software 3 11-08-2006 06:43 PM
exportfs: /etc/exports:1 unknown keyword "show" ukrainet Linux - Newbie 2 12-15-2004 08:18 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration