source: gpfs_3.1_ker2.6.20/share/man/man8/mmexportfs.8 @ 195

Last change on this file since 195 was 16, checked in by rock, 17 years ago
File size: 3.4 KB
Line 
1.TH mmexportfs 02/16/06
2mmexportfs Command
3.SH "Name"
4.PP
5\fBmmexportfs\fR - Retrieves the information needed to move a file system
6to 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
13The \fBmmexportfs\fR command, in conjunction with the \fBmmimportfs\fR command, can be used to move one or more
14GPFS file systems from one GPFS cluster to another GPFS cluster, or to
15temporarily remove file systems from the cluster and restore them at a later
16time. The \fBmmexportfs\fR command retrieves all relevant file
17system 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
21nodes.
22.PP
23When \fBall\fR is specified in place of a file system name, any disks
24that are not associated with a file system will be exported as well.
25.PP
26Exported file systems remain unusable until they are imported back with the
27\fBmmimportfs\fR command to the same or a different
28GPFS cluster.
29.SH "Results"
30.PP
31Upon successful completion of the \fBmmexportfs\fR command, all
32configuration information pertaining to the exported file system and its disks
33is removed from the configuration data of the current GPFS cluster and is
34stored 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
42The device name of the file system to be exported. File system
43names need not be fully-qualified. \fBfs0\fR is as acceptable as
44\fB/dev/fs0\fR. Specify \fBall\fR to export all GPFS file
45systems, as well as all disks that do not belong to a file system yet.
46This must be the first parameter.
47.RE
48.PP
49.RS +3
50\fB-o \fIExportFilesysData\fR
51\fR
52.RE
53.RS +9
54The path name of a file to which the file system information is to be
55written. 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
65Successful completion.
66.RE
67.PP
68.RS +3
69\fBnonzero
70\fR
71.RE
72.RS +9
73A failure has occurred.
74.RE
75.SH "Security"
76.PP
77You must have root authority to run the \fBmmexportfs\fR command.
78.PP
79You may issue the \fBmmexportfs\fR command from any node in the GPFS
80cluster.
81.PP
82When using the \fBrcp\fR and \fBrsh\fR commands for remote
83communication, a properly configured \fB.rhosts\fR file must exist
84in the root user's home directory on each node in the GPFS
85cluster. If you have designated the use of a different remote
86communication program on either the
87\fBmmcrcluster\fR
88or
89\fBmmchcluster\fR command, you must ensure:
90.RS +3
91.HP 3
921. Proper authorization is granted to all nodes in the GPFS cluster.
93.HP 3
942. The nodes in the GPFS cluster can communicate without the use of a
95password, and without any extraneous messages.
96.RE
97.SH "Examples"
98.PP
99To export all file systems in the current cluster, issue this
100command:
101.sp
102.nf
103mmexportfs all -o /u/admin/exportfile
104.fi
105.sp
106.PP
107The output is similar to this:
108.sp
109.nf
110mmexportfs: Processing file system fs1 ...
111mmexportfs: Processing file system fs2 ...
112mmexportfs: Processing disks that do not belong to any file system ...
113mmexportfs: 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
119mmimportfs Command
120.SH "Location"
121.PP
122\fB/usr/lpp/mmfs/bin\fR
123.PP
Note: See TracBrowser for help on using the repository browser.