IBM General Parallel File System for AIX: Administration and Programming Reference
Name
mmdelfs - Removes a GPFS file system.
Synopsis
mmdelfs Device [-p]
Description
The mmdelfs command removes all the structures for the specified
file system from the nodes in the nodeset.
Before you can delete a file system using the mmdelfs command, you
must unmount it on all nodes.
Upon successful execution of the mmdelfs command, these tasks are
completed on all nodes:
- Deletes the character device entry from /dev.
- Removes the mount point directory where the file system had been
mounted.
Parameters
- Device
- The device name of the file system to be removed. File system names
need not be fully qualified. fs0 is as acceptable as
/dev/fs0.
This must be the first parameter.
Options
- -p
- Indicates that the disks are permanently damaged and the file system
information should be removed from the GPFS cluster data even if the disks
cannot be marked as available.
Exit status
- 0
- Successful completion.
- 1
- A failure has occurred.
Security
You must have root authority to run the mmdelfs command.
In an SP environment:
- Verify the authentication method set for SP security services:
- If your authentication method is set to compatibility, Kerberos
authentication is required. Issue the k4init command.
- If your authentication method is set to DCE, dce_login
authentication is required.
- If your authentication method is set to NONE/std, there must be an entry
in the /etc/sysctl.mmcmd.acl file on every node in
the nodeset for the root user at every other node in the nodeset.
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.
- You may issue the mmdelfs command from any node running GPFS or
the CWS.
- If you are executing the mmdelfs command from the CWS on a
multi-partitioned system, the SP_NAME environment variable must be
properly set. It is suggested that you use a separate window for each
partition and set the environment variable accordingly. For further
information, see the IBM Parallel
System Support Programs for AIX: Administration Guide and
search for understanding system partitioning.
In an HACMP environment:
- When using rcp and rsh for remote communication, a
properly configured /.rhosts file must exist in the root
user's home directory on each node in the GPFS cluster. If you
have designated the use of a different remote communication program on either
the mmcrcluster or the mmchcluster command, you must insure:
- Proper authorization is granted to all nodes in the GPFS cluster.
- The nodes in the GPFS cluster can communicate without the use of a
password.
- You may issue the mmdelfs command from any node in the GPFS
cluster.
Examples
To delete file system fs0, enter:
mmdelfs fs0
The system displays information similar to:
mmdelfs: 6027-1366 Marking the disks as available
GPFS: 6027-573 All data on following disks of fs0 will be destroyed:
gpfs9vsd
gpfs10vsd
gpfs15vsd
gpfs17vsd
GPFS: 6027-574 Completed deletion of file system fs0.
mmdelfs: 6027-1371 Propagating the changes to all affected nodes.
This is an asynchronous process.
See also
mmcrfs Command
mmchfs Command
mmdf Command
mmlsfs Command
Location
/usr/lpp/mmfs/bin
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]