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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
@brownie_cookie: this Google search lists many pages with your error message. Have you tried re-starting the NFS daemons? If so how and what was the output/effect?
# 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 ]
# showmount
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:
Code:
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
in rmtab.
no, i have nothing in those files. So that's why he doesn't show anything..
hmmm
i'm confused, i KNOW that i have NFS mounts, becuase when i do
Code:
mount
i get a lot of feedback
Code:
/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.
so this means, those 2 are the mounts for my server?
and with mounts i mean links with another server
Yes -- your computer, as an NFS client, has mounted those NFS file systems from those NFS servers (I presume you have changed the actual hostname to host and the actual IP address to ip).
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.