What is difference between dfshares and showmount ?

What is difference between dfshares and showmount ? Both looks to same in Solaris as both is used to find out who can mounts the shared resources. Thanks!
beer9Asked:
Who is Participating?
 
omarfaridConnect With a Mentor Commented:
from man page

showmount lists all the clients that have remotely mounted a filesystem from host.

dfshares provides information about resources available to the host through a distributed file system of type FSType

showmount shows what is currently being mounted by other hosts

dfshares shows what is available to remote hosts (not necessarily mounted)
0
 
Brian UtterbackConnect With a Mentor Principle Software EngineerCommented:
So, dfsshares shows who *could*, while showmount shows who *has*.

Note that for NFS version 3 and before, the showmount command isn't accurate at all, since there is a mount
action in NFS, but no unmount action.
0
 
beer9Author Commented:
Thank you :-)
0
All Courses

From novice to tech pro — start learning today.