unmountfs
Use the unmountfs command to unmount a file system.
The unmountfs command unmounts a file system on all interface nodes, management nodes, or a specified subset. You must have Administrator authority to use this command.
Attention: Exports of the file system can block the unmount
process. The active exports of the file system must be inactive before
the unmount process is done.
Syntax
Parameters and arguments
- -user user_name
- Specifies an IBM Spectrum Control user ID.
- -pwd password
- Specifies the password for the IBM Spectrum Control user ID.
- -url url
- Specifies the Device server. The format of the URL is system:port_number, where system represents either the host name or IP address, and port_number represents the IBM Spectrum Control Device server port.
- -filesystem file_system_id
- Specifies the ID of file system to be unmounted.
- -nodes nodes
- Lists the nodes to unmount the file system on, in a comma-separated list. Specify only the interface node, management node, or both. If you omit this parameter, the file system is unmounted on all nodes.
- -wait
- Indicates that the system waits until the file system is unmounted on all the nodes. An error occurs after the system waits 3 minutes.
- -fs character
- Specifies the 7-bit character that separates the information in the output. If you omit this parameter, the information is separated by blank spaces.
- -header
- Suppresses the column headings in the output. If you omit this parameter, the column headings are included.
- -help | -h | -?
- Lists help information for the command.
- -qs character
- Specifies the 7-bit character that surrounds character strings and date stamps in the output. If you omit this parameter, character strings and date stamps are enclosed by double quotation marks (").
- -silent
- Suppresses all output for the command. If you omit this parameter, output is included.
Example: Unmount a file system
The following
command unmounts a file system on a management node.
tpctool> unmountfs -filesystem eefs+kq458mv.ibm+00000200A2A0153C+0
-user admin -pwd password -url localhost:9550 -nodes mgmt001st001
The following output is returned:
FilesystemId Status
===========================================
eefs+kq458mv.ibm+00000200A2A0153C+0 SUCCESS