| 1 | .TH mmdelfs 02/16/06 |
|---|
| 2 | mmdelfs Command |
|---|
| 3 | .SH "Name" |
|---|
| 4 | .PP |
|---|
| 5 | \fBmmdelfs\fR - Removes a GPFS file system. |
|---|
| 6 | .SH "Synopsis" |
|---|
| 7 | .PP |
|---|
| 8 | \fBmmdelfs\fR \fIDevice\fR [\fB-p\fR] |
|---|
| 9 | .SH "Description" |
|---|
| 10 | .PP |
|---|
| 11 | The \fBmmdelfs\fR command removes all the structures for the specified |
|---|
| 12 | file system from the nodes in the cluster. |
|---|
| 13 | .PP |
|---|
| 14 | Before you can delete a file system using the \fBmmdelfs\fR command, you |
|---|
| 15 | must unmount it on all nodes. |
|---|
| 16 | .PP |
|---|
| 17 | \fBResults\fR |
|---|
| 18 | .PP |
|---|
| 19 | Upon successful completion of the \fBmmdelfs\fR command, these tasks are |
|---|
| 20 | completed on all nodes: |
|---|
| 21 | .RS +3 |
|---|
| 22 | .HP 3 |
|---|
| 23 | \(bu Deletes the character device entry from \fB/dev\fR. |
|---|
| 24 | .HP 3 |
|---|
| 25 | \(bu Removes the mount point directory where the file system had been |
|---|
| 26 | mounted. |
|---|
| 27 | .RE |
|---|
| 28 | .SH "Parameters" |
|---|
| 29 | .PP |
|---|
| 30 | .RS +3 |
|---|
| 31 | \fB\fIDevice\fR |
|---|
| 32 | \fR |
|---|
| 33 | .RE |
|---|
| 34 | .RS +9 |
|---|
| 35 | The device name of the file system to be removed. File system names |
|---|
| 36 | need not be fully-qualified. \fBfs0\fR is as acceptable as |
|---|
| 37 | \fB/dev/fs0\fR. |
|---|
| 38 | .PP |
|---|
| 39 | This must be the first parameter. |
|---|
| 40 | .RE |
|---|
| 41 | .SH "Options" |
|---|
| 42 | .PP |
|---|
| 43 | .RS +3 |
|---|
| 44 | \fB-p |
|---|
| 45 | \fR |
|---|
| 46 | .RE |
|---|
| 47 | .RS +9 |
|---|
| 48 | Indicates that the disks are permanently damaged and the file system |
|---|
| 49 | information should be removed from the GPFS cluster data even if the disks |
|---|
| 50 | cannot be marked as \fBavailable\fR. |
|---|
| 51 | .RE |
|---|
| 52 | .SH "Exit status" |
|---|
| 53 | .PP |
|---|
| 54 | .PP |
|---|
| 55 | .RS +3 |
|---|
| 56 | \fB0 |
|---|
| 57 | \fR |
|---|
| 58 | .RE |
|---|
| 59 | .RS +9 |
|---|
| 60 | Successful completion. |
|---|
| 61 | .RE |
|---|
| 62 | .PP |
|---|
| 63 | .RS +3 |
|---|
| 64 | \fBnonzero |
|---|
| 65 | \fR |
|---|
| 66 | .RE |
|---|
| 67 | .RS +9 |
|---|
| 68 | A failure has occurred. |
|---|
| 69 | .RE |
|---|
| 70 | .SH "Security" |
|---|
| 71 | .PP |
|---|
| 72 | You must have root authority to run the \fBmmdelfs\fR command. |
|---|
| 73 | .PP |
|---|
| 74 | You may issue the \fBmmdelfs\fR command from any node in the GPFS |
|---|
| 75 | cluster. |
|---|
| 76 | .PP |
|---|
| 77 | When using the \fBrcp\fR and \fBrsh\fR commands for remote |
|---|
| 78 | communication, a properly configured \fB.rhosts\fR file must exist |
|---|
| 79 | in the root user's home directory on each node in the GPFS |
|---|
| 80 | cluster. If you have designated the use of a different remote |
|---|
| 81 | communication program on either the |
|---|
| 82 | \fBmmcrcluster\fR |
|---|
| 83 | or the |
|---|
| 84 | \fBmmchcluster\fR command, you must |
|---|
| 85 | ensure: |
|---|
| 86 | .RS +3 |
|---|
| 87 | .HP 3 |
|---|
| 88 | 1. Proper authorization is granted to all nodes in the GPFS cluster. |
|---|
| 89 | .HP 3 |
|---|
| 90 | 2. The nodes in the GPFS cluster can communicate without the use of a |
|---|
| 91 | password, and without any extraneous messages. |
|---|
| 92 | .RE |
|---|
| 93 | .SH "Examples" |
|---|
| 94 | .PP |
|---|
| 95 | To delete file system \fBfs0\fR, issue this command: |
|---|
| 96 | .sp |
|---|
| 97 | .nf |
|---|
| 98 | mmdelfs fs0 |
|---|
| 99 | .fi |
|---|
| 100 | .sp |
|---|
| 101 | .PP |
|---|
| 102 | The system displays information similar to: |
|---|
| 103 | .sp |
|---|
| 104 | .nf |
|---|
| 105 | mmdelfs: 6027-1366 Marking the disks as available |
|---|
| 106 | GPFS: 6027-573 All data on following disks of fs0 will be destroyed: |
|---|
| 107 | gpfs9nsd |
|---|
| 108 | gpfs10nsd |
|---|
| 109 | gpfs15nsd |
|---|
| 110 | gpfs17nsd |
|---|
| 111 | GPFS: 6027-574 Completed deletion of file system fs0. |
|---|
| 112 | mmdelfs: 6027-1371 Propagating the changes to all affected |
|---|
| 113 | nodes. This is an asynchronous process. |
|---|
| 114 | .fi |
|---|
| 115 | .sp |
|---|
| 116 | .SH "See also" |
|---|
| 117 | .PP |
|---|
| 118 | mmcrfs Command |
|---|
| 119 | .PP |
|---|
| 120 | mmchfs Command |
|---|
| 121 | .PP |
|---|
| 122 | mmlsfs Command |
|---|
| 123 | .SH "Location" |
|---|
| 124 | .PP |
|---|
| 125 | \fB/usr/lpp/mmfs/bin\fR |
|---|
| 126 | .PP |
|---|