Displaying information about GPFS

Use the following commands to display information about GPFS.

  • Use the ap sw –t gpfs-cluster command to get information about GPFS cluster state.
    [apuser@node0101-fab ~]# ap sw -t gpfs-cluster
    +--------------+----------+--------+---------+
    | Name         | Location | Status | Version |
    +--------------+----------+--------+---------+
    | GPFS Cluster | gpfs     | OK     | 4.2.2.0 |
    +--------------+----------+--------+---------+
    
    
  • Use the ap sw –t gpfs-node command to get information about GPFS nodes state.
    [apuser@node0101-fab ~]# ap sw -t gpfs-node
    +-----------+----------------------+--------+---------+
    | Name      | Location             | Status | Version |
    +-----------+----------------------+--------+---------+
    | GPFS Node | gpfs/hadomain1.node1 | OK     |         |
    | GPFS Node | gpfs/hadomain1.node2 | OK     |         |
    | GPFS Node | gpfs/hadomain1.node3 | OK     |         |
    +-----------+----------------------+--------+---------+
    
  • Use the ap fs command to display information about GPFS file system, NSDs and mounts.
    ap fs
    +-----------+------------+---------------------------------------------+-----------+-----------+--------+--------+
    | HA Domain | Filesystem | Disk                                        | Size [GB] | Used [GB] | % Used | Status |
    +-----------+------------+---------------------------------------------+-----------+-----------+--------+--------+
    | hadomain1 | data       | nsd.mpath_36005076a81b5348a800000000400001d |   1566.72 |      0.47 |   0.03 | OK     |
    | hadomain1 | data       | nsd.mpath_36005076a81b5348a800000000500001e |   1566.72 |      0.47 |   0.03 | OK     |
    | hadomain1 | data       | nsd.mpath_36005076a81b5348a8000000007000020 |   1566.72 |      0.47 |   0.03 | OK     |
    | hadomain1 | data       | nsd.mpath_36005076a81b5348a8000000008000021 |   1566.72 |      0.47 |   0.03 | OK     |
    | hadomain1 | data       | nsd.mpath_36005076a81b5348a8000000009000022 |   1566.72 |      0.47 |   0.03 | OK     |
    | hadomain1 | data       | nsd.mpath_36005076a81b5348a800000000a000023 |   1566.72 |      0.47 |   0.03 | OK     |
    | hadomain1 | data       | nsd.mpath_36005076a81b5348a800000000b000024 |   1566.72 |      0.47 |   0.03 | OK     |
    | hadomain1 | data       | nsd.mpath_36005076a81b5348a800000000c000025 |   1566.72 |      0.47 |   0.03 | OK     |
    | hadomain1 | data       | nsd.mpath_36005076a81b5348a800000000d000026 |   1566.72 |      0.47 |   0.03 | OK     |
    | hadomain1 | data       | nsd.mpath_36005076a81b5348a800000000e000027 |   1566.72 |      0.47 |   0.03 | OK     |
    | hadomain1 | head       | nsd.mpath_36005076a81b5348a8000000000000019 |   1024.00 |     12.08 |   1.18 | OK     |
    | hadomain1 | local      | nsd.mpath_36005076a81b5348a8000000010000029 |   1566.72 |    105.28 |   6.72 | OK     |
    | hadomain1 | local      | nsd.mpath_36005076a81b5348a800000001100002a |   1566.72 |    105.28 |   6.72 | OK     |
    | hadomain1 | local      | nsd.mpath_36005076a81b5348a800000001200002b |   1566.72 |    105.28 |   6.72 | OK     |
    | hadomain1 | local      | nsd.mpath_36005076a81b5348a800000001300002c |   1566.72 |    105.28 |   6.72 | OK     |
    | hadomain1 | local      | nsd.mpath_36005076a81b5348a800000001400002d |   1566.72 |    105.28 |   6.72 | OK     |
    | hadomain1 | local      | nsd.mpath_36005076a81b5348a800000001500002e |   1566.72 |    105.28 |   6.72 | OK     |
    | hadomain1 | local      | nsd.mpath_36005076a81b5348a800000001600002f |   1566.72 |    105.28 |   6.72 | OK     |
    | hadomain1 | local      | nsd.mpath_36005076a81b5348a8000000017000030 |   1566.72 |    105.28 |   6.72 | OK     |
    | hadomain1 | local      | nsd.mpath_36005076a81b5348a8000000018000031 |   1566.72 |    105.28 |   6.72 | OK     |
    | hadomain1 | local      | nsd.mpath_36005076a81b5348a8000000019000032 |   1566.72 |    105.28 |   6.72 | OK     |
    | hadomain1 | platform   | nsd.mpath_36005076a81b5348a800000000f000028 |   3072.00 |      2.76 |   0.09 | OK     |
    | hadomain1 | scratch    | nsd.mpath_36005076a81b5348a800000000100001a |  10240.00 |      4.10 |   0.04 | OK     |
    +-----------+------------+---------------------------------------------+-----------+-----------+--------+--------+
    
    Filesystems mounts
    +------------+-----------------+-------------------------------------+
    | Filesystem | Node            | Mountpoint                          |
    +------------+-----------------+-------------------------------------+
    | data       | hadomain1.node1 | /opt/ibm/appliance/storage/data     |
    | data       | hadomain1.node2 | /opt/ibm/appliance/storage/data     |
    | data       | hadomain1.node3 | /opt/ibm/appliance/storage/data     |
    | head       | hadomain1.node1 | /opt/ibm/appliance/storage/head     |
    | head       | hadomain1.node2 | /opt/ibm/appliance/storage/head     |
    | head       | hadomain1.node3 | /opt/ibm/appliance/storage/head     |
    | local      | hadomain1.node1 | /opt/ibm/appliance/storage/local    |
    | local      | hadomain1.node2 | /opt/ibm/appliance/storage/local    |
    | local      | hadomain1.node3 | /opt/ibm/appliance/storage/local    |
    | platform   | hadomain1.node1 | /opt/ibm/appliance/storage/platform |
    | platform   | hadomain1.node2 | /opt/ibm/appliance/storage/platform |
    | platform   | hadomain1.node3 | /opt/ibm/appliance/storage/platform |
    | scratch    | hadomain1.node1 | /opt/ibm/appliance/storage/scratch  |
    | scratch    | hadomain1.node2 | /opt/ibm/appliance/storage/scratch  |
    | scratch    | hadomain1.node3 | /opt/ibm/appliance/storage/scratch  |
    +------------+-----------------+-------------------------------------+
    
    Generated: 2018-07-27 08:53:00