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!
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)
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.
beer9Author Commented:
Thank you :-)
All Courses

From novice to tech pro — start learning today.