Some GPFS administration tasks require you to unmount the file system before they can be performed. You can unmount a GPFS file system using the unmount command. If the file system will not unmount, see the IBM General Parallel File System for AIX: Problem Determination Guide and search for file system will not unmount.
To unmount a GPFS file system using the unmount command, enter:
unmount device
where device is the file system mount point. For example, to unmount the file system fs1, enter:
unmount /dev/fs1
In an SP environment, to unmount a GPFS file system from all nodes in a GPFS nodeset, you can issue a dsh command, if you have created a GPFS nodes file as suggested in the IBM General Parallel File System for AIX: Concepts, Planning, and Installation Guide and search for files to ease the installation process. For example, if gpfs.nodes is the file listing all of the nodes and the file system fs1, enter:
WCOLL=/tmp/gpfs.nodes dsh unmount /dev/fs1
In an HACMP environment, if you have created a file listing all of the nodes in your nodeset (see the IBM General Parallel File System for AIX: Concepts, Planning, and Installation Guide and search for files to ease the installation process ), you can issue a remote shell command to unmount your GPFS file system on all of the nodes. For example, if gpfs.allnodes is the file listing all of the nodes and the file system is fs1:
#!/usr/bin/ksh for node in $(cat /tmp/gpfs.allnodes) do rsh $node unmount /dev/fs1 done