LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-25-2012, 06:57 AM   #1
dann_radkov
Member
 
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 fqdn.domain.com 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
nfs-utils-lib-1.0.8-7.6.el5
nfs-utils-1.0.9-50.el5
system-config-nfs-1.3.23-1.el5


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
/dist/rhat
theword-prov

/boot/jumpstart
<world>
/boot/js-x86
<world>

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
dann_radkov
Member
 
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!
 
  


Reply


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


All times are GMT -5. The time now is 08:32 PM.

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