1 | .TH mmlsdisk 03/31/06 |
---|
2 | mmlsdisk Command |
---|
3 | .SH "Name" |
---|
4 | .PP |
---|
5 | \fBmmlsdisk\fR - Displays the current configuration and state of the |
---|
6 | disks in a file system. |
---|
7 | .SH "Synopsis" |
---|
8 | .PP |
---|
9 | \fBmmlsdisk\fR \fIDevice\fR [\fB-d\fR |
---|
10 | \fB"\fR\fIDiskName\fR[;\fIDiskName\fR...\fB]"]\fR |
---|
11 | [\fB-e\fR] [\fB-L\fR] |
---|
12 | .PP |
---|
13 | Or, |
---|
14 | .PP |
---|
15 | \fBmmlsdisk\fR \fIDevice\fR [\fB-d\fR |
---|
16 | \fB"\fR\fIDiskName\fR[;\fIDiskName\fR...\fB]"]\fR |
---|
17 | {\fB-m\fR | \fB-M\fR} |
---|
18 | .SH "Description" |
---|
19 | .PP |
---|
20 | Use the \fBmmlsdisk\fR command to display the current state of the disks |
---|
21 | in the file system. |
---|
22 | .PP |
---|
23 | The \fBmmlsdisk\fR command may be run against a mounted or unmounted |
---|
24 | file system. |
---|
25 | .PP |
---|
26 | For each disk in the list, the \fBmmlsdisk\fR command displays: |
---|
27 | .RS +3 |
---|
28 | .HP 3 |
---|
29 | \(bu disk name |
---|
30 | .HP 3 |
---|
31 | \(bu driver type |
---|
32 | .HP 3 |
---|
33 | \(bu sector size |
---|
34 | .HP 3 |
---|
35 | \(bu failure group |
---|
36 | .HP 3 |
---|
37 | \(bu whether it holds metadata |
---|
38 | .HP 3 |
---|
39 | \(bu whether it holds data |
---|
40 | .HP 3 |
---|
41 | \(bu current |
---|
42 | status: |
---|
43 | .sp |
---|
44 | .RS +3 |
---|
45 | \fBready |
---|
46 | \fR |
---|
47 | .RE |
---|
48 | .RS +9 |
---|
49 | Normal status |
---|
50 | .RE |
---|
51 | .sp |
---|
52 | .RS +3 |
---|
53 | \fBsuspended |
---|
54 | \fR |
---|
55 | .RE |
---|
56 | .RS +9 |
---|
57 | Indicates that data is to be migrated off this disk |
---|
58 | .RE |
---|
59 | .sp |
---|
60 | .RS +3 |
---|
61 | \fBbeing emptied |
---|
62 | \fR |
---|
63 | .RE |
---|
64 | .RS +9 |
---|
65 | Transitional status in effect while a disk deletion is pending |
---|
66 | .RE |
---|
67 | .sp |
---|
68 | .RS +3 |
---|
69 | \fBreplacing |
---|
70 | \fR |
---|
71 | .RE |
---|
72 | .RS +9 |
---|
73 | Transitional status in effect for old disk while replacement is pending |
---|
74 | .RE |
---|
75 | .sp |
---|
76 | .RS +3 |
---|
77 | \fBreplacement |
---|
78 | \fR |
---|
79 | .RE |
---|
80 | .RS +9 |
---|
81 | Transitional status in effect for new disk while replacement is pending |
---|
82 | .RE |
---|
83 | .HP 3 |
---|
84 | \(bu availability: |
---|
85 | .sp |
---|
86 | .RS +3 |
---|
87 | \fBup |
---|
88 | \fR |
---|
89 | .RE |
---|
90 | .RS +9 |
---|
91 | Disk is available to GPFS for normal \fBread\fR and \fBwrite\fR |
---|
92 | operations |
---|
93 | .RE |
---|
94 | .sp |
---|
95 | .RS +3 |
---|
96 | \fBdown |
---|
97 | \fR |
---|
98 | .RE |
---|
99 | .RS +9 |
---|
100 | No \fBread\fR and \fBwrite\fR operations can be performed on |
---|
101 | this disk |
---|
102 | .RE |
---|
103 | .sp |
---|
104 | .RS +3 |
---|
105 | \fBrecovering |
---|
106 | \fR |
---|
107 | .RE |
---|
108 | .RS +9 |
---|
109 | An intermediate state for disks coming up, during which GPFS verifies and |
---|
110 | corrects data. \fBread\fR operations can be performed while a disk |
---|
111 | is in this state but \fBwrite\fR operations cannot. |
---|
112 | .RE |
---|
113 | .sp |
---|
114 | .RS +3 |
---|
115 | \fBunrecovered |
---|
116 | \fR |
---|
117 | .RE |
---|
118 | .RS +9 |
---|
119 | The disks was not successfully brought up. |
---|
120 | .RE |
---|
121 | .HP 3 |
---|
122 | \(bu disk ID |
---|
123 | .HP 3 |
---|
124 | \(bu storage pool that the disk is assigned to |
---|
125 | .RE |
---|
126 | .SH "Parameters" |
---|
127 | .PP |
---|
128 | .RS +3 |
---|
129 | \fB\fIDevice\fR |
---|
130 | \fR |
---|
131 | .RE |
---|
132 | .RS +9 |
---|
133 | The device name of the file system to which the disks belong. File |
---|
134 | system names need not be fully-qualified. \fBfs0\fR is as acceptable |
---|
135 | as \fB/dev/fs0\fR. |
---|
136 | .PP |
---|
137 | This must be the first parameter. |
---|
138 | .RE |
---|
139 | .PP |
---|
140 | .RS +3 |
---|
141 | \fB-d "\fIDiskName\fR[;\fIDiskName\fR...]" |
---|
142 | \fR |
---|
143 | .RE |
---|
144 | .RS +9 |
---|
145 | The name of the disks for which you want to display current configuration |
---|
146 | and state information. When you enter multiple values for |
---|
147 | \fIDiskName\fR, you must separate them with semicolons and enclose the list |
---|
148 | in quotation marks. |
---|
149 | .sp |
---|
150 | .nf |
---|
151 | "gpfs3nsd;gpfs4nsd;gpfs5nsd" |
---|
152 | .fi |
---|
153 | .sp |
---|
154 | .RE |
---|
155 | .SH "Options" |
---|
156 | .PP |
---|
157 | .RS +3 |
---|
158 | \fB-e |
---|
159 | \fR |
---|
160 | .RE |
---|
161 | .RS +9 |
---|
162 | Display all of the disks in the file system that do not have an |
---|
163 | availability of \fBup\fR and a status of \fBready\fR. If all |
---|
164 | disks in the file system are \fBup\fR and \fBready\fR, the message |
---|
165 | displayed is: |
---|
166 | .sp |
---|
167 | .nf |
---|
168 | 6027-623 All disks up and ready\ |
---|
169 | .fi |
---|
170 | .sp |
---|
171 | .RE |
---|
172 | .PP |
---|
173 | .RS +3 |
---|
174 | \fB-L |
---|
175 | \fR |
---|
176 | .RE |
---|
177 | .RS +9 |
---|
178 | Displays an extended list of the disk parameters, including the disk ID |
---|
179 | field and the \fBremarks\fR field. The \fBremarks\fR column shows |
---|
180 | the current file system descriptor quorum assignments, and displays the |
---|
181 | excluded disks. The \fBremarks\fR field contains \fBdesc\fR for |
---|
182 | all disks assigned as the file system descriptor holders and \fBexcl\fR for |
---|
183 | all excluded disks. |
---|
184 | .RE |
---|
185 | .PP |
---|
186 | .RS +3 |
---|
187 | \fB-M |
---|
188 | \fR |
---|
189 | .RE |
---|
190 | .RS +9 |
---|
191 | Displays whether I/O requests to the disk are satisfied on the local node, |
---|
192 | or using an NSD server. If the I/O is done using an NSD server, shows |
---|
193 | the NSD server name and the underlying disk name on that server |
---|
194 | node. |
---|
195 | .RE |
---|
196 | .PP |
---|
197 | .RS +3 |
---|
198 | \fB-m |
---|
199 | \fR |
---|
200 | .RE |
---|
201 | .RS +9 |
---|
202 | Displays whether I/O requests to the disk are satisfied on the local node, |
---|
203 | or using an NSD server. This scope of this options is the node on which |
---|
204 | the \fBmmlsdisk\fR command is issued. |
---|
205 | .RE |
---|
206 | .SH "Exit status" |
---|
207 | .PP |
---|
208 | .PP |
---|
209 | .RS +3 |
---|
210 | \fB0 |
---|
211 | \fR |
---|
212 | .RE |
---|
213 | .RS +9 |
---|
214 | Successful completion. |
---|
215 | .RE |
---|
216 | .PP |
---|
217 | .RS +3 |
---|
218 | \fBnonzero |
---|
219 | \fR |
---|
220 | .RE |
---|
221 | .RS +9 |
---|
222 | A failure has occurred. |
---|
223 | .RE |
---|
224 | .SH "Security" |
---|
225 | .PP |
---|
226 | If you are a root user: |
---|
227 | .RS +3 |
---|
228 | .HP 3 |
---|
229 | 1. You may issue the \fBmmlsdisk\fR command from any node in the GPFS |
---|
230 | cluster. |
---|
231 | .HP 3 |
---|
232 | 2. |
---|
233 | When using the \fBrcp\fR and \fBrsh\fR commands for remote |
---|
234 | communication, a properly configured \fB.rhosts\fR file must exist |
---|
235 | in the root user's home directory on each node in the GPFS |
---|
236 | cluster. If you have designated the use of a different remote |
---|
237 | communication program on either the |
---|
238 | \fBmmcrcluster\fR |
---|
239 | or the |
---|
240 | \fBmmchcluster\fR command, you must |
---|
241 | ensure: |
---|
242 | .RS +3 |
---|
243 | .HP 3 |
---|
244 | a. Proper authorization is granted to all nodes in the GPFS cluster. |
---|
245 | .HP 3 |
---|
246 | b. The nodes in the GPFS cluster can communicate without the use of a |
---|
247 | password, and without any extraneous messages. |
---|
248 | .RE |
---|
249 | .HP 3 |
---|
250 | 3. As root, the command can also do an \fBmmlsdisk\fR on remote file |
---|
251 | systems. |
---|
252 | .RE |
---|
253 | .PP |
---|
254 | If you are a non-root user, you may specify only file systems that belong |
---|
255 | to the same cluster as the node on which the \fBmmlsdisk\fR command was |
---|
256 | issued. |
---|
257 | .PP |
---|
258 | The \fBmmlsdisk\fR command does not work if GPFS is |
---|
259 | down. |
---|
260 | .SH "Examples" |
---|
261 | .PP |
---|
262 | .RS +3 |
---|
263 | .HP 3 |
---|
264 | 1. To display the current state of \fBgpfs2nsd\fR, issue this |
---|
265 | command: |
---|
266 | .sp |
---|
267 | .nf |
---|
268 | mmlsdisk /dev/fs0 -d gpfs2nsd |
---|
269 | .fi |
---|
270 | .sp |
---|
271 | .sp |
---|
272 | The system displays information similar to: |
---|
273 | .sp |
---|
274 | .nf |
---|
275 | disk driver sector failure holds holds storage |
---|
276 | name type size group metadata data status availability pool |
---|
277 | -------- ------- ------ ------- -------- ----- ------- ------------ ------- |
---|
278 | gpfs2nsd nsd 512 4002 yes yes ready up system |
---|
279 | .fi |
---|
280 | .sp |
---|
281 | .HP 3 |
---|
282 | 2. To display the current states of \fBgpfs2nsd\fR, |
---|
283 | \fBgpfs3nsd\fR, and \fBgpfs4nsd\fR, and display their respective disk |
---|
284 | ids and the descriptor quorum assignment, issue this command: |
---|
285 | .sp |
---|
286 | .nf |
---|
287 | mmlsdisk /dev/fs0 -d "gpfs2nsd;gpfs3nsd;gpfs4nsd" -L |
---|
288 | .fi |
---|
289 | .sp |
---|
290 | .sp |
---|
291 | The system displays information similar to: |
---|
292 | .sp |
---|
293 | .nf |
---|
294 | disk driver sector failure holds holds storage |
---|
295 | name type size group metadata data status availability disk id pool remarks |
---|
296 | --------- ------ ------ ------- -------- ----- ------ ------------ ------- -------- ------- |
---|
297 | gpfs2nsd nsd 512 4002 yes yes ready up 2 system desc |
---|
298 | gpfs3nsd nsd 512 4002 yes yes ready up 3 system |
---|
299 | gpfs4nsd nsd 512 4002 yes yes ready up 4 system |
---|
300 | Number of quorum disks: 3 |
---|
301 | Read quorum value: 2 |
---|
302 | Write quorum value: 2 |
---|
303 | .fi |
---|
304 | .sp |
---|
305 | .HP 3 |
---|
306 | 3. To display the whether the I/O is performed locally or using an NSD |
---|
307 | server, the NSD server name, and the underlying disk name for the file system |
---|
308 | named \fBtest\fR, issue this command: |
---|
309 | .sp |
---|
310 | .nf |
---|
311 | mmlsdisk test -M |
---|
312 | .fi |
---|
313 | .sp |
---|
314 | .sp |
---|
315 | The system displays information similar to: |
---|
316 | .sp |
---|
317 | .nf |
---|
318 | Disk name IO performed on node Device Availability |
---|
319 | ------------ ----------------------- ----------------- ------------ |
---|
320 | gpfs7nsd localhost /dev/gpfs2vsd up |
---|
321 | gpfs10nsd k5n88.kgn.ibm.com /dev/gpfs3vsd up |
---|
322 | gpfs4nsd localhost /dev/hdisk10 up |
---|
323 | .fi |
---|
324 | .sp |
---|
325 | .HP 3 |
---|
326 | 4. To display the same information as in Example 3, but limited to the node on which the command is |
---|
327 | issued, issue this command: |
---|
328 | .sp |
---|
329 | .nf |
---|
330 | mmlsdisk test -m |
---|
331 | .fi |
---|
332 | .sp |
---|
333 | .sp |
---|
334 | The system displays information similar to: |
---|
335 | .sp |
---|
336 | .nf |
---|
337 | Disk name IO performed on node Device Availability |
---|
338 | ------------ ----------------------- ----------------- ------------ |
---|
339 | gpfs7nsd localhost /dev/gpfs2vsd up |
---|
340 | gpfs10nsd k5n88.kgn.ibm.com - up |
---|
341 | gpfs4nsd localhost /dev/hdisk10 up |
---|
342 | .fi |
---|
343 | .sp |
---|
344 | .RE |
---|
345 | .SH "See also" |
---|
346 | .PP |
---|
347 | mmadddisk Command |
---|
348 | .PP |
---|
349 | mmchdisk Command |
---|
350 | .PP |
---|
351 | mmdeldisk Command |
---|
352 | .PP |
---|
353 | mmrpldisk Command |
---|
354 | .SH "Location" |
---|
355 | .PP |
---|
356 | \fB/usr/lpp/mmfs/bin\fR |
---|
357 | .PP |
---|