The mmlsmount command
The mmlsmount command lists the nodes that have a given GPFS file system mounted.
Use the -L option to see the node name and IP address of each node that has the file system in use. This command can be used for all file systems, all remotely mounted file systems, or file systems mounted on nodes of certain clusters.
While not specifically intended as a service aid, the mmlsmount command
is useful in these situations:
- When writing and debugging new file system administrative procedures, to determine which nodes have a file system mounted and which do not.
- When mounting a file system on multiple nodes, to determine which nodes have successfully completed the mount and which have not.
- When a file system is mounted, but appears to be inaccessible to some nodes but accessible to others, to determine the extent of the problem.
- When a normal (not force) unmount has not completed, to determine the affected nodes.
- When a file system has force unmounted on some nodes but not others, to determine the affected nodes.
For example, to list the nodes having all file systems mounted:
mmlsmount all -L
The
system displays output similar to:File system fs2 is mounted on 7 nodes:
192.168.3.53 c25m3n12 c34.cluster
192.168.110.73 c34f2n01 c34.cluster
192.168.110.74 c34f2n02 c34.cluster
192.168.148.77 c12c4apv7 c34.cluster
192.168.132.123 c20m2n03 c34.cluster (internal mount)
192.168.115.28 js21n92 c34.cluster (internal mount)
192.168.3.124 c3m3n14 c3.cluster
File system fs3 is not mounted.
File system fs3 (c3.cluster:fs3) is mounted on 7 nodes:
192.168.2.11 c2m3n01 c3.cluster
192.168.2.12 c2m3n02 c3.cluster
192.168.2.13 c2m3n03 c3.cluster
192.168.3.123 c3m3n13 c3.cluster
192.168.3.124 c3m3n14 c3.cluster
192.168.110.74 c34f2n02 c34.cluster
192.168.80.20 c21f1n10 c21.cluster
For more information on the mmlsmount command, see mmlsmount command.