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.
# service nfs restart
Shutting down NFS mountd: [ OK ]
Shutting down NFS daemon: [ OK ]
Shutting down NFS quotas: [ OK ]
Shutting down NFS services: [FAILED]
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd: [ OK ]
Hosts on hostname:
AFAIK showmount gets its data from /var/lib/nfs/rmtab. Do you have anything in that file? BTW, the rpc.mountd man page says this about it:
The rmtab File
For every mount request received from an NFS client, rpc.mountd adds an entry to the /var/lib/nfs/rmtab file. When
receiving an unmount request, that entry is removed.
However, this file is mostly ornamental. One, the client can continue to use the file handle even after calling
rpc.mountd's UMOUNT procedure. And two, if a client reboots without notifying rpc.mountd , a stale entry will remain
no, i have nothing in those files. So that's why he doesn't show anything..
i'm confused, i KNOW that i have NFS mounts, becuase when i do
i get a lot of feedback
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/cciss/c0d0p1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
ip:/CVBDISK on /CVBDISK type nfs (rw,addr=ip)
hostname:/VOLUME1/PUBLIC on /nasdisk4 type nfs (rw,addr=ip)
/dev/ram0 on /ramdisk type ext2 (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
i just need to know WHAT my mount (or mountpoints) ARE
i DON'T need to know what size they are and all that stuff, i just need to know the names
Do you mean you want to know the device file names for NFS file systems that your computer has mounted as an NFS client from NFS servers? If so, showmount is the wrong command because it shows the NFS clients of your computer's NFS service. One way would be to run df --type=NFS and parse the output.
Those are NFS mounts where this system is an NFS client.
The prev NFS start/stop/showmount cmds should only be run on an NFSserver.
You should shutdown those NFS services again unless you intend to be a server.