1 | .TH mmexportfs 02/16/06 |
---|
2 | mmexportfs Command |
---|
3 | .SH "Name" |
---|
4 | .PP |
---|
5 | \fBmmexportfs\fR - Retrieves the information needed to move a file system |
---|
6 | to a different cluster. |
---|
7 | .SH "Synopsis" |
---|
8 | .PP |
---|
9 | \fBmmexportfs\fR {\fIDevice\fR | \fBall\fR} \fB-o\fR |
---|
10 | \fIExportFilesysData\fR |
---|
11 | .SH "Description" |
---|
12 | .PP |
---|
13 | The \fBmmexportfs\fR command, in conjunction with the \fBmmimportfs\fR command, can be used to move one or more |
---|
14 | GPFS file systems from one GPFS cluster to another GPFS cluster, or to |
---|
15 | temporarily remove file systems from the cluster and restore them at a later |
---|
16 | time. The \fBmmexportfs\fR command retrieves all relevant file |
---|
17 | system and disk information and stores it in the file specified with the |
---|
18 | \fB-o\fR parameter. This file must later be provided as input to the |
---|
19 | \fBmmimportfs\fR command. When running the |
---|
20 | \fBmmexportfs\fR command, the file system must be unmounted on all |
---|
21 | nodes. |
---|
22 | .PP |
---|
23 | When \fBall\fR is specified in place of a file system name, any disks |
---|
24 | that are not associated with a file system will be exported as well. |
---|
25 | .PP |
---|
26 | Exported file systems remain unusable until they are imported back with the |
---|
27 | \fBmmimportfs\fR command to the same or a different |
---|
28 | GPFS cluster. |
---|
29 | .SH "Results" |
---|
30 | .PP |
---|
31 | Upon successful completion of the \fBmmexportfs\fR command, all |
---|
32 | configuration information pertaining to the exported file system and its disks |
---|
33 | is removed from the configuration data of the current GPFS cluster and is |
---|
34 | stored in the user specified file \fIExportFilesysData\fR. |
---|
35 | .SH "Parameters" |
---|
36 | .PP |
---|
37 | .RS +3 |
---|
38 | \fB\fIDevice\fR | all |
---|
39 | \fR |
---|
40 | .RE |
---|
41 | .RS +9 |
---|
42 | The device name of the file system to be exported. File system |
---|
43 | names need not be fully-qualified. \fBfs0\fR is as acceptable as |
---|
44 | \fB/dev/fs0\fR. Specify \fBall\fR to export all GPFS file |
---|
45 | systems, as well as all disks that do not belong to a file system yet. |
---|
46 | This must be the first parameter. |
---|
47 | .RE |
---|
48 | .PP |
---|
49 | .RS +3 |
---|
50 | \fB-o \fIExportFilesysData\fR |
---|
51 | \fR |
---|
52 | .RE |
---|
53 | .RS +9 |
---|
54 | The path name of a file to which the file system information is to be |
---|
55 | written. This file must be provided as input to the subsequent \fBmmimportfs\fR command. |
---|
56 | .RE |
---|
57 | .SH "Exit status" |
---|
58 | .PP |
---|
59 | .PP |
---|
60 | .RS +3 |
---|
61 | \fB0 |
---|
62 | \fR |
---|
63 | .RE |
---|
64 | .RS +9 |
---|
65 | Successful completion. |
---|
66 | .RE |
---|
67 | .PP |
---|
68 | .RS +3 |
---|
69 | \fBnonzero |
---|
70 | \fR |
---|
71 | .RE |
---|
72 | .RS +9 |
---|
73 | A failure has occurred. |
---|
74 | .RE |
---|
75 | .SH "Security" |
---|
76 | .PP |
---|
77 | You must have root authority to run the \fBmmexportfs\fR command. |
---|
78 | .PP |
---|
79 | You may issue the \fBmmexportfs\fR command from any node in the GPFS |
---|
80 | cluster. |
---|
81 | .PP |
---|
82 | When using the \fBrcp\fR and \fBrsh\fR commands for remote |
---|
83 | communication, a properly configured \fB.rhosts\fR file must exist |
---|
84 | in the root user's home directory on each node in the GPFS |
---|
85 | cluster. If you have designated the use of a different remote |
---|
86 | communication program on either the |
---|
87 | \fBmmcrcluster\fR |
---|
88 | or |
---|
89 | \fBmmchcluster\fR command, you must ensure: |
---|
90 | .RS +3 |
---|
91 | .HP 3 |
---|
92 | 1. Proper authorization is granted to all nodes in the GPFS cluster. |
---|
93 | .HP 3 |
---|
94 | 2. The nodes in the GPFS cluster can communicate without the use of a |
---|
95 | password, and without any extraneous messages. |
---|
96 | .RE |
---|
97 | .SH "Examples" |
---|
98 | .PP |
---|
99 | To export all file systems in the current cluster, issue this |
---|
100 | command: |
---|
101 | .sp |
---|
102 | .nf |
---|
103 | mmexportfs all -o /u/admin/exportfile |
---|
104 | .fi |
---|
105 | .sp |
---|
106 | .PP |
---|
107 | The output is similar to this: |
---|
108 | .sp |
---|
109 | .nf |
---|
110 | mmexportfs: Processing file system fs1 ... |
---|
111 | mmexportfs: Processing file system fs2 ... |
---|
112 | mmexportfs: Processing disks that do not belong to any file system ... |
---|
113 | mmexportfs: 6027-1371 Propagating the changes to all affected |
---|
114 | nodes. This is an asynchronous process. |
---|
115 | .fi |
---|
116 | .sp |
---|
117 | .SH "See also" |
---|
118 | .PP |
---|
119 | mmimportfs Command |
---|
120 | .SH "Location" |
---|
121 | .PP |
---|
122 | \fB/usr/lpp/mmfs/bin\fR |
---|
123 | .PP |
---|