Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
NFS quesiton /etc/exports contains 1 table ; exportfs produces another
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
My current /etc/exports file looks like this :
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.
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 ]
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!