mmshutdown - Unmounts all GPFS file systems and stops GPFS on one or more nodes.
Synopsis
mmshutdown [-t unmountTimeout ] [ -a | -C NodesetId | -W NodeFilename | [ -w NodeName[,NodeName...]] [-n NodeNumber[,NodeNumber...] ] ]
Description
Use the mmshutdown command to stop the GPFS daemons on one or more nodes. If no operand is specified, GPFS is only stopped on the node from which the command was issued.
The mmshutdown command first attempts to unmount all GPFS file systems. If the unmount does not complete within the specified timeout period, the GPFS daemons shut down anyway.
Upon successful execution of the mmshutdown command, these tasks are completed:
Parameters
The hostname or IP address used for a node must refer to the adapter port
over which the GPFS daemons communicate. Alias interfaces are not
allowed. Use the original address or a name that is resolved by the
host command to that original address. You may specify a node
using any of these forms:
| Format | Example |
|---|---|
| Short hostname | k145n01 |
| Long hostname | k145n01.kgn.ibm.com |
| IP address | 9.119.19.102 |
Options
Exit status
Security
You must have root authority to run the mmshutdown command.
In an SP environment:
For further information, see the latest IBM Parallel System Support Programs for AIX: Administration Guide, IBM Parallel System Support Programs for AIX: Command and Technical Reference, and RS/6000: Planning Volume 2, Control Workstation and Software Environment manuals at www.rs6000.ibm.com/resource/aix_resource/sp_books/pssp. Search for information on sysctl.
In an HACMP environment:
Examples
mmshutdown -aThe system displays information similar to:
Wed Aug 16 17:19:03 EDT 2000: 6027-1341 mmshutdown: Starting force unmount of GPFS filesystems k145n01: forced unmount of /fs2 k145n01: forced unmount of /fs1 k145n02: forced unmount of /fs2 k145n02: forced unmount of /fs1 Wed Aug 16 17:19:09 EDT 2000: 6027-1344 mmshutdown: Shutting down GPFS daemons k145n01: Shutting down! k145n01: 0513-044 The mmfs Subsystem was requested to stop. k145n02: Shutting down! k145n02: 0513-044 The mmfs Subsystem was requested to stop. Wed Aug 16 17:19:16 EDT 2000: 6027-1345 mmshutdown: Finished
mmshutdown -w k145n05,k145n08The system displays information similar to:
Wed Aug 16 17:27:01 EDT 2000: 6027-1341 mmshutdown: Starting force unmount of GPFS filesystems k145n08: forced unmount of /fs2 k145n08: forced unmount of /fs1 k145n05: forced unmount of /fs2 k145n05: forced unmount of /fs1 Wed Aug 16 17:27:06 EDT 2000: 6027-1344 mmshutdown: Shutting down GPFS daemons k145n08: Shutting down! k145n08: 0513-044 The mmfs Subsystem was requested to stop. k145n05: Shutting down! k145n05: 0513-044 The mmfs Subsystem was requested to stop. Wed Aug 16 17:27:10 EDT 2000: 6027-1345 mmshutdown: Finished
mmshutdown -C set5 -t 180The system displays information similar to:
Wed Aug 16 17:29:07 EDT 2000: 6027-1341 mmshutdown: Starting force unmount of GPFS filesystems k145n01: forced unmount of /fs2 k145n01: forced unmount of /fs1 k145n02: forced unmount of /fs2 k145n02: forced unmount of /fs1 k145n03: forced unmount of /fs2 k145n03: forced unmount of /fs1 Wed Aug 16 17:29:12 EDT 2000: 6027-1344 mmshutdown: Shutting down GPFS daemons k145n01: Shutting down! k145n01.kgn.ibm.com: 0513-044 The mmfs Subsystem was requested to stop. k145n02.kgn.ibm.com: Shutting down! k145n02.kgn.ibm.com: 0513-044 The mmfs Subsystem was requested to stop. k145n03.kgn.ibm.com: Shutting down! k145n03.kgn.ibm.com: 0513-044 The mmfs Subsystem was requested to stop. Wed Aug 16 17:29:19 EDT 2000: 6027-1345 mmshutdown: Finished
See also
Location
/usr/lpp/mmfs/bin