1 | .TH mmmount 12/04/06 |
---|
2 | mmmount Command |
---|
3 | .SH "Name" |
---|
4 | .PP |
---|
5 | \fBmmmount\fR - Mounts GPFS file systems on one or more nodes in the |
---|
6 | cluster. |
---|
7 | .SH "Synopsis" |
---|
8 | .PP |
---|
9 | \fBmmmount\fR \fB{\fR\fIDevice\fR \fB | \fR |
---|
10 | \fIDefaultMountPoint\fR \fB | \fR \fBall | all_local | all_remote}\fR |
---|
11 | \fB[-o \fR\fIMountOptions\fR\fB] [-a | -N |
---|
12 | \fR\fB{\fR\fINode\fR\fB[,\fR\fINode\fR\fB...] |
---|
13 | | \fR\fINodeFile\fR\fB | \fR\fINodeClass\fR\fB}]\fR |
---|
14 | .PP |
---|
15 | Or, |
---|
16 | .PP |
---|
17 | \fBmmmount\fR \fIDevice\fR \fIMountPoint\fR \fB[-o |
---|
18 | \fR\fIMountOptions\fR\fB]\fR\fB [-a | -N |
---|
19 | \fR\fB{\fR\fINode\fR\fB[,\fR\fINode\fR\fB...] |
---|
20 | | \fR\fINodeFile\fR\fB | \fR\fINodeClass\fR\fB}]\fR |
---|
21 | .SH "Description" |
---|
22 | .PP |
---|
23 | The \fBmmmount\fR command mounts the specified GPFS file system on one |
---|
24 | or more nodes in the cluster. If no nodes are specified, the file |
---|
25 | systems are mounted only on the node from which the command was issued. |
---|
26 | A file system can be specified using its device name or its default mount |
---|
27 | point, as established by the \fBmmcrfs\fR, \fBmmchfs\fR or |
---|
28 | \fBmmremotefs\fR commands. |
---|
29 | .PP |
---|
30 | When \fBall\fR is specified in place of a file system name, all GPFS |
---|
31 | file systems will be mounted. This also includes remote GPFS file |
---|
32 | systems to which this cluster has access. |
---|
33 | .SH "Parameters" |
---|
34 | .PP |
---|
35 | .RS +3 |
---|
36 | \fB\fIDevice\fR | all | all_local | all_remote |
---|
37 | \fR |
---|
38 | .RE |
---|
39 | .RS +9 |
---|
40 | .PP |
---|
41 | .RS +3 |
---|
42 | \fB\fIDevice\fR |
---|
43 | \fR |
---|
44 | .RE |
---|
45 | .RS +9 |
---|
46 | The device name of the file system to be mounted. File system names |
---|
47 | do not need to be fully-qualified. \fBfs0\fR is just as acceptable |
---|
48 | as \fB/dev/fs0\fR. |
---|
49 | .RE |
---|
50 | .PP |
---|
51 | .RS +3 |
---|
52 | \fBall |
---|
53 | \fR |
---|
54 | .RE |
---|
55 | .RS +9 |
---|
56 | Indicates all file systems known to this cluster |
---|
57 | .RE |
---|
58 | .PP |
---|
59 | .RS +3 |
---|
60 | \fBall_local |
---|
61 | \fR |
---|
62 | .RE |
---|
63 | .RS +9 |
---|
64 | Indicates all file systems owned by this cluster |
---|
65 | .RE |
---|
66 | .PP |
---|
67 | .RS +3 |
---|
68 | \fBall_remote |
---|
69 | \fR |
---|
70 | .RE |
---|
71 | .RS +9 |
---|
72 | Indicates all files systems owned by another cluster to which this cluster |
---|
73 | has access |
---|
74 | .RE |
---|
75 | .PP |
---|
76 | This must be the first parameter. |
---|
77 | .RE |
---|
78 | .PP |
---|
79 | .RS +3 |
---|
80 | \fB\fIDefaultMountPoint\fR |
---|
81 | \fR |
---|
82 | .RE |
---|
83 | .RS +9 |
---|
84 | The mount point associated with the file system as a result of the |
---|
85 | \fBmmcrfs\fR, \fBmmchfs\fR, or \fBmmremotefs\fR commands. |
---|
86 | .RE |
---|
87 | .PP |
---|
88 | .RS +3 |
---|
89 | \fB\fIMountPoint\fR |
---|
90 | \fR |
---|
91 | .RE |
---|
92 | .RS +9 |
---|
93 | The location where the file system is to be mounted. If not |
---|
94 | specified, the file system is mounted at its default mount point. This |
---|
95 | option can be used to mount a file system at a mount point other than its |
---|
96 | default mount point. |
---|
97 | .RE |
---|
98 | .SH "Options" |
---|
99 | .PP |
---|
100 | .RS +3 |
---|
101 | \fB-a |
---|
102 | \fR |
---|
103 | .RE |
---|
104 | .RS +9 |
---|
105 | Mount the file system on all nodes in the GPFS cluster. |
---|
106 | .RE |
---|
107 | .PP |
---|
108 | .RS +3 |
---|
109 | \fB-N {\fINode\fR[,\fINode\fR...] | |
---|
110 | \fINodeFile\fR | \fINodeClass\fR} |
---|
111 | \fR |
---|
112 | .RE |
---|
113 | .RS +9 |
---|
114 | Specifies the nodes on which the file system is to be mounted. |
---|
115 | .PP |
---|
116 | This command does not support a \fINodeClass\fR of |
---|
117 | \fBmount\fR. |
---|
118 | .RE |
---|
119 | .PP |
---|
120 | .RS +3 |
---|
121 | \fB-o \fIMountOptions\fR |
---|
122 | \fR |
---|
123 | .RE |
---|
124 | .RS +9 |
---|
125 | Specifies the mount options to pass to the mount command when mounting the |
---|
126 | file system. |
---|
127 | .RE |
---|
128 | .SH "Exit status" |
---|
129 | .PP |
---|
130 | .PP |
---|
131 | .RS +3 |
---|
132 | \fB0 |
---|
133 | \fR |
---|
134 | .RE |
---|
135 | .RS +9 |
---|
136 | Successful completion. |
---|
137 | .RE |
---|
138 | .PP |
---|
139 | .RS +3 |
---|
140 | \fBnonzero |
---|
141 | \fR |
---|
142 | .RE |
---|
143 | .RS +9 |
---|
144 | A failure has occurred. |
---|
145 | .RE |
---|
146 | .SH "Security" |
---|
147 | .PP |
---|
148 | You must have root authority to run the \fBmmmount\fR command. |
---|
149 | .PP |
---|
150 | You may issue the \fBmmmount\fR command from any node in the GPFS |
---|
151 | cluster. |
---|
152 | .SH "Examples" |
---|
153 | .RS +3 |
---|
154 | .HP 3 |
---|
155 | 1. To mount all GPFS file systems on all of the nodes in the cluster, issue |
---|
156 | this command: |
---|
157 | .sp |
---|
158 | .nf |
---|
159 | mmmount all -a |
---|
160 | .fi |
---|
161 | .sp |
---|
162 | .HP 3 |
---|
163 | 2. To mount file system \fBfs2\fR read-only on the local node, issue this |
---|
164 | command: |
---|
165 | .sp |
---|
166 | .nf |
---|
167 | mmmount fs2 -o ro |
---|
168 | .fi |
---|
169 | .sp |
---|
170 | .HP 3 |
---|
171 | 3. To mount file system \fBfs1\fR on all NSD server nodes, issue this |
---|
172 | command: |
---|
173 | .sp |
---|
174 | .nf |
---|
175 | mmmount fs1 -N nsdsnodes |
---|
176 | .fi |
---|
177 | .sp |
---|
178 | .RE |
---|
179 | .SH "See also" |
---|
180 | .PP |
---|
181 | mmumount Command |
---|
182 | .PP |
---|
183 | mmlsmount Command, |
---|
184 | .SH "Location" |
---|
185 | .PP |
---|
186 | \fB/usr/lpp/mmfs/bin\fR |
---|