Solved

What is difference between dfshares and showmount ?

Posted on 2009-05-09
3
2,036 Views
Last Modified: 2013-12-27
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
Comment
Question by:beer9
3 Comments
 
LVL 40

Accepted Solution

by:
omarfarid earned 150 total points
ID: 24343607
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
 
LVL 22

Assisted Solution

by:blu
blu earned 100 total points
ID: 24348980
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
 

Author Closing Comment

by:beer9
ID: 31579756
Thank you :-)
0

Featured Post

Independent Software Vendors: 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!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question