IBM Books

IBM General Parallel File System for AIX: Administration and Programming Reference

mmlsdisk Command

Name

mmlsdisk - Displays the current configuration and state of the disks in a file system.

Synopsis

mmlsdisk Device [-d "DiskName;[DiskName...]] [-e] [-i]

Description

Use the mmlsdisk command to display the current state of the disks in the file system.

The mmlsdisk command may be run against a mounted or unmounted file system.

For each disk in the list, mmlsdisk displays:

Parameters

Device
The device name of the file system to which the disks belong. File system names need not be fully qualified. fs0 is as acceptable as /dev/fs0.

This must be the first parameter.

-d DiskName[;DiskName...]

The name of the disks for which you want to display current configuration and state information. When you enter multiple DiskNames, you must separate them with semicolons and enclose the entire string of disk names in quotation marks:

"gpfs3n12;gpfs4n12;gpfs5n12"

Options

-e

Display all of the disks in the file system that do not have an availability of up and a status of ready. If all disks in the file system are up and ready, the message displayed is:

6027-623 All disks up and ready 

-i

Display the disk id.

Exit status

0
Successful completion.

1
A failure has occurred.

Security

In an SP environment:

In an HACMP environment:

  1. If you are a root user, when using rcp and rsh for remote communication, a properly configured /.rhosts file must exist in the root user's home directory on each node in the GPFS cluster. If you have designated the use of a different remote communication program on either the mmcrcluster or the mmchcluster command, you must insure:
    1. Proper authorization is granted to all nodes in the GPFS cluster.
    2. The nodes in the GPFS cluster can communicate without the use of a password.
  2. You may issue the mmlsdisk command from any node in the GPFS cluster.

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

Examples

  1. To display the current state of gpfs3n12, enter:
    mmlsdisk /dev/fs0 -d gpfs3n12
    

    The system displays information similar to:

    disk         driver   sector failure holds    holds                             
    name         type       size   group metadata data  status        availability  
    ------------ -------- ------ ------- -------- ----- ------------- ------------  
    gpfs3n12         disk    512      -1 yes      yes   ready         up 
     
    
  2. To display the current states of gpfs3n12, gpfs4n12, and gpfs5n12, enter:
    mmlsdisk /dev/fs0 -d "gpfs3n12;gpfs4n12;gpfs5n12" -i
    

    The system displays information similar to:

    disk         driver   sector failure holds    holds                            
    name         type       size   group metadata data  status        availability disk id 
    ------------ -------- ------ ------- -------- ----- ------------- ------------ ------- 
    gpfs3n12     disk        512      -1 yes      yes   ready         up                 1 
    gpfs3n12     disk        512      -1 yes      yes   ready         up                 1
    gpfs4n12     disk        512      -1 yes      yes   ready         up                 2
    gpfs5n12     disk        512      -1 yes      yes   ready         up                 3   
    

See also

mmadddisk Command

mmchdisk Command

mmdeldisk Command

mmrpldisk Command

Location

/usr/lpp/mmfs/bin


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]