The dfshares command allows you to ascertain which resources are made available on remote systems for client access.
Syntax
Specifies that only information about resources of the file system type nfs is output. This option does not have to be specified because no other distributed file systems are currently supported and nfs is thus the only file system type which is listed in the file /etc/dfs/fstypes.
Suppresses output of the optional header.
The name of a computer which, as an NFS server, provides resources; only information about the resources provided by server is output. More than one server can be specified. If no server is specified, information about the resources provided by the local computer for client access is output. |
Output
The information output by dfshares consists of an optional header with column headings, followed by a list of lines containing the details about the individual file systems.
Header:
RESOURCE SERVER ACCESS TRANSPORT
RESOURCE
Name of the mounted resource, as required by the mount command on the client.
SERVER
Name of the system providing the resource.
ACCESS
Access authorizations for the client systems; because dfshares cannot determine this information for an NFS resource, a hyphen (-) is output.
TRANSPORT
Transport provider over which the file system is shared; because dfshares cannot determine this information for an NFS file system, a hyphen (-) is output.
Files
/etc/dfs/fstypes
Table of installed utilities for distributed file systems.
Example
You wish to ascertain which resources are available on the computer d016ze07. The information is to be output with a header.
$ dfshares -F nfs d016ze07 RESOURCE SERVER ACCESS TRANSPORT d016ze07:/posix315 d016ze07 - - d016ze07:/vgt d016ze07 - - d016ze07:/sm2ibis d016ze07 - - d016ze07:/ccsxtest d016ze07 - -