mmlsmgr command

Displays which node is the file system manager for the specified file systems or which node is the cluster manager.

Synopsis

mmlsmgr [Device [Device...]] [-Y]

or

mmlsmgr -C RemoteClusterName

or

mmlsmgr -c

Availability

Available on all IBM Spectrum Scale editions.

Description

Use the mmlsmgr command to display which node is the file system manager or cluster manager for the file system.

If you do not provide a Device operand, file system managers for all file systems within the current cluster for which a file system manager has been appointed are displayed.

Parameters

Device
The device names of the file systems for which the file system manager information is displayed.

If more than one file system is listed, the names must be delimited by a space. File system names need not be fully-qualified. fs0 is just as acceptable as /dev/fs0.

If no file system is specified, information about all file systems is displayed.

-C RemoteClusterName
Displays the name of the nodes that are file system managers in cluster RemoteClusterName.
-c
Displays the current cluster manager node.
-Y
Displays the command output in a parseable format with a colon (:) as a field delimiter. Each column is described by a header.
Note: Fields that have a colon (:) are encoded to prevent confusion. For the set of characters that might be encoded, see the command documentation of mmclidecode. Use the mmclidecode command to decode the field.

Exit status

0
Successful completion.
nonzero
A failure has occurred.

Security

If you are a root user, the node on which the command is issued must be able to execute remote shell commands on any other node in the cluster without the use of a password and without producing any extraneous messages. For more information, see Requirements for administering a GPFS file system.

As root, a user can also issue the mmlsmgr on remote file systems.

If you are a non-root user, you may specify only file systems that belong to the same cluster as the node on which the mmlsmgr command was issued.

Examples

  1. To display the file system manager node information for all the file systems, issue this command:
    mmlsmgr 
    The system displays information similar to:
    file system      manager node
    ---------------- ------------------
    fs3              9.114.94.65 (c154n01)
    fs2              9.114.94.73 (c154n09)
    fs1              9.114.94.81 (c155n01)
    
    Cluster manager node: 9.114.94.65 (c154n01)
    

    The output shows the device name of the file system and the file system manager's node number and name, in parenthesis, as they are recorded in the GPFS cluster data.

  2. To display the file system manager information for file systems gpfs2 and gpfs3, issue this command:
    mmlsmgr gpfs2 gpfs3
    The system displays information similar to:
    file system      manager node [from 199.116.68.69 (k156gn02)]
    ---------------- ------------------
    gpfs2              199.116.68.70 (k154gn02)      
    gpfs3              199.116.68.72 (kolt2g_r1b42)
    

See also

Location

/usr/lpp/mmfs/bin