Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

dfshares - Output information about available resources

&pagelevel(4)&pagelevel

The dfshares command allows you to ascertain which resources are made available on remote systems for client access.

Syntax


dfshares[ -F nfs][ -h][ server][ ...]


-F nfs

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.

-h

Suppresses output of the optional header.

server

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  -         -