Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

dfmounts - Output information about mounted resources

&pagelevel(4)&pagelevel

The dfmounts command allows you to ascertain which resources of the local computer or ofanother NFS server are mounted on client systems.

Syntax


dfmounts[ -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 local resources currently mounted by clients is output.

Output

The information output by dfmounts consists of an optional header with column headings, followed by a list of lines containing the details about the individual resources:

Header:

RESOURCE   SERVER   PATHNAME   CLIENTS

RESOURCE

Name of the mounted resource, as required by the mount command on the client.

SERVER

Name of the system providing the resource.

PATHNAME

Path name of the resource provided, as required by the share command on the server.

CLIENTS

Names of the client systems on which the resource is currently mounted.

Files

/etc/dfs/fstypes

Table of installed utilities for distributed file systems.

Example

You wish to ascertain which resources the computer d016ze04 is providing, and on which clients they are mounted.

$ dfmounts d016ze04
RESOURCE     SERVER PATHNAME                  CLIENTS

  -        d016ze04 /cpp32c                  d016ze07
  -        d016ze04 /dcm89q/dfue_test        abgqn508
  -        d016ze04 /dcm89q/fs               abgse404,abgse218,sqnet203
  -        d016ze04 /javaqa                  d016ze07
  -        d016ze04 /tjinst                  d016ze07