rmfs [ -r ] FileSystem
The rmfs command removes a file system. If the file system is a journaled file system (JFS or JFS2), the rmfs command removes both the logical volume on which the file system resides and the associated stanza in the /etc/filesystems file. If the file system is not a JFS or JFS2 file system, the command removes only the associated stanza in the /etc/filesystems file. The FileSystem parameter specifies the file system to be removed.
You can use the File Systems application in Web-based System Manager (wsm) to change file system characteristics.
You could also use the System Management Interface Tool (SMIT) smit rmfs fast path to run this command.
JFS is POWER-based platform only, and JFS2 is common to both platforms.
-r | Removes the mount point of the file system. |
To remove the /test file system, enter:
rmfs /test
This removes the /test file system, its entry in the /etc/filesystems file, and the underlying logical volume.
/etc/rmfs | Contains the rmfs command. |
/etc/filesystems | Lists the known file systems and defines their characteristics. |
The chfs command, crfs command, lsfs command, mkfs command, rmlv command.
File Systems Overview for System Management in AIX 5L Version 5.1 System Management Guide: Operating System and Devices.
For information on installing the Web-based System Manager, see Chapter 2: Installation and System Requirements in AIX 5L Version 5.1 Web-based System Manager Administration Guide.
System Management Interface Tool (SMIT) Overview in AIX 5L Version 5.1 System Management Guide: Operating System and Devices.