.TH mmdelfs 02/16/06 mmdelfs Command .SH "Name" .PP \fBmmdelfs\fR - Removes a GPFS file system. .SH "Synopsis" .PP \fBmmdelfs\fR \fIDevice\fR [\fB-p\fR] .SH "Description" .PP The \fBmmdelfs\fR command removes all the structures for the specified file system from the nodes in the cluster. .PP Before you can delete a file system using the \fBmmdelfs\fR command, you must unmount it on all nodes. .PP \fBResults\fR .PP Upon successful completion of the \fBmmdelfs\fR command, these tasks are completed on all nodes: .RS +3 .HP 3 \(bu Deletes the character device entry from \fB/dev\fR. .HP 3 \(bu Removes the mount point directory where the file system had been mounted. .RE .SH "Parameters" .PP .RS +3 \fB\fIDevice\fR \fR .RE .RS +9 The device name of the file system to be removed. File system names need not be fully-qualified. \fBfs0\fR is as acceptable as \fB/dev/fs0\fR. .PP This must be the first parameter. .RE .SH "Options" .PP .RS +3 \fB-p \fR .RE .RS +9 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 \fBavailable\fR. .RE .SH "Exit status" .PP .PP .RS +3 \fB0 \fR .RE .RS +9 Successful completion. .RE .PP .RS +3 \fBnonzero \fR .RE .RS +9 A failure has occurred. .RE .SH "Security" .PP You must have root authority to run the \fBmmdelfs\fR command. .PP You may issue the \fBmmdelfs\fR command from any node in the GPFS cluster. .PP When using the \fBrcp\fR and \fBrsh\fR commands for remote communication, a properly configured \fB.rhosts\fR 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 \fBmmcrcluster\fR or the \fBmmchcluster\fR command, you must ensure: .RS +3 .HP 3 1. Proper authorization is granted to all nodes in the GPFS cluster. .HP 3 2. The nodes in the GPFS cluster can communicate without the use of a password, and without any extraneous messages. .RE .SH "Examples" .PP To delete file system \fBfs0\fR, issue this command: .sp .nf mmdelfs fs0 .fi .sp .PP The system displays information similar to: .sp .nf mmdelfs: 6027-1366 Marking the disks as available GPFS: 6027-573 All data on following disks of fs0 will be destroyed: gpfs9nsd gpfs10nsd gpfs15nsd gpfs17nsd GPFS: 6027-574 Completed deletion of file system fs0. mmdelfs: 6027-1371 Propagating the changes to all affected nodes. This is an asynchronous process. .fi .sp .SH "See also" .PP mmcrfs Command .PP mmchfs Command .PP mmlsfs Command .SH "Location" .PP \fB/usr/lpp/mmfs/bin\fR .PP