[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2156
  • Last Modified:

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!
0
beer9
Asked:
beer9
2 Solutions
 
omarfaridCommented:
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 UtterbackPrinciple 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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now