rmfs
Use the rmfs command to remove a file system from an active management node. You must have Administrator authority to use this command.
Attention: When you remove a file system, all the data on that
file system is deleted.
You must unmount a file system on all nodes before you can delete it. Use the unmountfs command to unmount a file system.
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 the file system to be removed.
- -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: Remove a file system
The following
command removes a file system.
tpctool> rmfs -filesystem eefs+kq458mv.ibm+00000200A2A0153C+0
-user admin -pwd password -url localhost:9550
The following output is returned:
FilesystemId Status
===========================================
eefs+kq458mv.ibm+00000200A2A0153C+0 SUCCESS