1834150 Members
2594 Online
110064 Solutions
New Discussion

NFS Mounts

 
SOLVED
Go to solution
MikeL_4
Super Advisor

NFS Mounts


We have servers that are able to mount file systems from a server.
Is there any way to tell what servers may have file systems mounted from this server ?
5 REPLIES 5
Pete Randall
Outstanding Contributor

Re: NFS Mounts

I think you're asking how to tell which servers can mount the files systems that this NFS server makes available. If that's true, take a look at your /etc/exports file.


Pete

Pete
A. Clay Stephenson
Acclaimed Contributor

Re: NFS Mounts

Do a "man showmount" and see if this meets your needs.
If it ain't broke, I can fix that.
mobidyc
Trusted Contributor
Solution

Re: NFS Mounts

Hello,

if you want to know who is mounting a filesysteme you share you can run the command:
# showmount
or
# cat /etc/rmtab |grep -v "^#"

if you want to know what you share (nfs), you can run the command:
# exportfs -v
and you can also
# cat /etc/exports

here are the manpages you can read for more informations
showmount(1m) - show all remote mounts
rmtab(4) - local file system mount statistics

Regards,
Cedrick Gaillard
Best regards, Cedrick Gaillard
Patrick Wallek
Honored Contributor

Re: NFS Mounts

You can try using the 'showmount' command.

# showmount -a

# man showmount
for more information.

However, this may show a bunch of bogus info depending on the usage of the NFS server and whether or not things were unmount cleanly or not.

See this thread for a discussion on showmount.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=213787
MikeL_4
Super Advisor

Re: NFS Mounts

Thanks