Displaying disks in a GPFS cluster

You can display the disks that belong to your GPFS™ cluster by issuing the mmlsnsd command.

The default is to display information for all disks defined to the cluster (-a). Otherwise, you may choose to display the information for a particular file system (-f) or for all disks which do not belong to any file system (-F).

To display the default information for all of the NSDs belonging to the cluster, enter:
mmlsnsd
The system displays information similar to:
File system  Disk name   NSD servers
----------------------------------------------------------------------
fs2         hd3n97      c5n97g.ppd.pok.ibm.com,c5n98g.ppd.pok.ibm.com,c5n99g.ppd.pok.ibm.com
fs2         hd4n97      c5n97g.ppd.pok.ibm.com,c5n98g.ppd.pok.ibm.com,c5n99g.ppd.pok.ibm.com
fs2         hd5n98      c5n98g.ppd.pok.ibm.com,c5n97g.ppd.pok.ibm.com,c5n99g.ppd.pok.ibm.com
fs2         hd6n98      c5n98g.ppd.pok.ibm.com,c5n97g.ppd.pok.ibm.com,c5n99g.ppd.pok.ibm.com
fs2         sdbnsd      c5n94g.ppd.pok.ibm.com,c5n96g.ppd.pok.ibm.com
fs2         sdcnsd      c5n94g.ppd.pok.ibm.com,c5n96g.ppd.pok.ibm.com
fs2         sddnsd      c5n94g.ppd.pok.ibm.com,c5n96g.ppd.pok.ibm.com
fs2         sdensd      c5n94g.ppd.pok.ibm.com,c5n96g.ppd.pok.ibm.com
fs2         sdgnsd      c5n94g.ppd.pok.ibm.com,c5n96g.ppd.pok.ibm.com
fs2         sdfnsd      c5n94g.ppd.pok.ibm.com,c5n96g.ppd.pok.ibm.com
fs2         sdhnsd      c5n94g.ppd.pok.ibm.com,c5n96g.ppd.pok.ibm.com
(free disk) hd2n97      c5n97g.ppd.pok.ibm.com,c5n98g.ppd.pok.ibm.com

To find out the local device names for the disks, use the mmlsnsd command with the -m option. For example, issuing mmlsnsd -m produces output similar to this:

Disk name   NSD volume ID     Device            Node name             Remarks
---------------------------------------------------------------------------------
hd2n97      0972846145C8E924  /dev/hdisk2     c5n97g.ppd.pok.ibm.com  server node
hd2n97      0972846145C8E924  /dev/hdisk2     c5n98g.ppd.pok.ibm.com  server node
hd3n97      0972846145C8E927  /dev/hdisk3     c5n97g.ppd.pok.ibm.com  server node
hd3n97      0972846145C8E927  /dev/hdisk3     c5n98g.ppd.pok.ibm.com  server node
hd4n97      0972846145C8E92A  /dev/hdisk4     c5n97g.ppd.pok.ibm.com  server node
hd4n97      0972846145C8E92A  /dev/hdisk4     c5n98g.ppd.pok.ibm.com  server node
hd5n98      0972846245EB501C  /dev/hdisk5     c5n97g.ppd.pok.ibm.com  server node
hd5n98      0972846245EB501C  /dev/hdisk5     c5n98g.ppd.pok.ibm.com  server node
hd6n98      0972846245DB3AD8  /dev/hdisk6     c5n97g.ppd.pok.ibm.com  server node
hd6n98      0972846245DB3AD8  /dev/hdisk6     c5n98g.ppd.pok.ibm.com  server node