1 | .TH mmlsnsd 02/16/06 |
---|
2 | mmlsnsd Command |
---|
3 | .SH "Name" |
---|
4 | .PP |
---|
5 | \fBmmlsnsd\fR - Displays the current Network Shared Disk (NSD) |
---|
6 | information in the GPFS cluster. |
---|
7 | .SH "Synopsis" |
---|
8 | .PP |
---|
9 | \fBmmlsnsd\fR [\fB\fI-a\fR\fR | \fB-F\fR | \fB-f\fR |
---|
10 | \fIDevice\fR | \fB-d\fR |
---|
11 | "\fIDiskName\fR[;\fIDiskName\fR...]" ] |
---|
12 | [\fB-L\fR | \fB-m\fR | \fB-M\fR | \fB-X\fR] |
---|
13 | [\fB-v\fR] |
---|
14 | .SH "Description" |
---|
15 | .PP |
---|
16 | Use the \fBmmlsnsd\fR command to display the current information for the |
---|
17 | NSDs belonging to the GPFS cluster. The default is to display |
---|
18 | information for all NSDs defined to the cluster (\fB-a\fR). |
---|
19 | Otherwise, you may choose to display the information for a particular file |
---|
20 | system (\fB-f\fR) or for all disks that do not belong to any file system |
---|
21 | (\fB-F\fR). |
---|
22 | .SH "Parameters" |
---|
23 | .PP |
---|
24 | .RS +3 |
---|
25 | \fB-a |
---|
26 | \fR |
---|
27 | .RE |
---|
28 | .RS +9 |
---|
29 | Display information for all of the NSDs belonging to the GPFS |
---|
30 | cluster. This is the default. |
---|
31 | .RE |
---|
32 | .PP |
---|
33 | .RS +3 |
---|
34 | \fB-f \fIDevice\fR |
---|
35 | \fR |
---|
36 | .RE |
---|
37 | .RS +9 |
---|
38 | The device name of the file system for which you want NSD information |
---|
39 | displayed. File system names need not be fully-qualified. |
---|
40 | \fBfs0\fR is as acceptable as \fB/dev/fs0\fR. |
---|
41 | .RE |
---|
42 | .PP |
---|
43 | .RS +3 |
---|
44 | \fB-F |
---|
45 | \fR |
---|
46 | .RE |
---|
47 | .RS +9 |
---|
48 | Display the NSDs that do not belong to any file system in the GPFS |
---|
49 | cluster. |
---|
50 | .RE |
---|
51 | .PP |
---|
52 | .RS +3 |
---|
53 | \fB-d \fIDiskName\fR[;\fIDiskName\fR...] |
---|
54 | \fR |
---|
55 | .RE |
---|
56 | .RS +9 |
---|
57 | .PP |
---|
58 | The name of the NSDs for which you want information displayed. When |
---|
59 | you enter multiple \fIDiskName\fRs, you must separate them with semicolons |
---|
60 | and enclose the entire string of disk names in quotation marks: |
---|
61 | .sp |
---|
62 | .nf |
---|
63 | "gpfs3nsd;gpfs4nsd;gpfs5nsd" |
---|
64 | .fi |
---|
65 | .sp |
---|
66 | .RE |
---|
67 | .SH "Options" |
---|
68 | .PP |
---|
69 | .RS +3 |
---|
70 | \fB-L |
---|
71 | \fR |
---|
72 | .RE |
---|
73 | .RS +9 |
---|
74 | Display the information in a long format that shows the NSD |
---|
75 | identifier. |
---|
76 | .RE |
---|
77 | .PP |
---|
78 | .RS +3 |
---|
79 | \fB-m |
---|
80 | \fR |
---|
81 | .RE |
---|
82 | .RS +9 |
---|
83 | Map the NSD name to its disk device name in \fB/dev\fR on the local |
---|
84 | node and, if applicable, on the primary and backup NSD server nodes. |
---|
85 | .RE |
---|
86 | .PP |
---|
87 | .RS +3 |
---|
88 | \fB-M |
---|
89 | \fR |
---|
90 | .RE |
---|
91 | .RS +9 |
---|
92 | Map the NSD names to its disk device name in \fB/dev\fR on all |
---|
93 | nodes. |
---|
94 | .PP |
---|
95 | This is a slow operation and its usage is suggested for problem |
---|
96 | determination only. |
---|
97 | .RE |
---|
98 | .PP |
---|
99 | .RS +3 |
---|
100 | \fB-v |
---|
101 | \fR |
---|
102 | .RE |
---|
103 | .RS +9 |
---|
104 | Specifies that the output should contain error information, where |
---|
105 | available. |
---|
106 | .RE |
---|
107 | .PP |
---|
108 | .RS +3 |
---|
109 | \fB-X |
---|
110 | \fR |
---|
111 | .RE |
---|
112 | .RS +9 |
---|
113 | Map the NSD name to its disk device name in \fB/dev\fR on the local |
---|
114 | node and, if applicable, on the primary and backup NSD server nodes, showing |
---|
115 | the information with extended information in the NSD volume id and the remarks |
---|
116 | fields. This is a slow operation and is suggested only for problem |
---|
117 | determination. |
---|
118 | .RE |
---|
119 | .SH "Exit status" |
---|
120 | .PP |
---|
121 | .PP |
---|
122 | .RS +3 |
---|
123 | \fB0 |
---|
124 | \fR |
---|
125 | .RE |
---|
126 | .RS +9 |
---|
127 | Successful completion. |
---|
128 | .RE |
---|
129 | .PP |
---|
130 | .RS +3 |
---|
131 | \fBnonzero |
---|
132 | \fR |
---|
133 | .RE |
---|
134 | .RS +9 |
---|
135 | A failure has occurred. |
---|
136 | .RE |
---|
137 | .SH "Security" |
---|
138 | .PP |
---|
139 | You must have root authority to issue the \fBmmlsnsd\fR command. |
---|
140 | .PP |
---|
141 | You may issue the \fBmmlsnsd\fR command from any node in the GPFS |
---|
142 | cluster. |
---|
143 | .PP |
---|
144 | When using the \fBrcp\fR and \fBrsh\fR commands for remote |
---|
145 | communication, a properly configured \fB.rhosts\fR file must exist |
---|
146 | in the root user's home directory on each node in the GPFS |
---|
147 | cluster. If you have designated the use of a different remote |
---|
148 | communication program on either the |
---|
149 | \fBmmcrcluster\fR |
---|
150 | or the |
---|
151 | \fBmmchcluster\fR command, you must |
---|
152 | ensure: |
---|
153 | .RS +3 |
---|
154 | .HP 3 |
---|
155 | 1. Proper authorization is granted to all nodes in the GPFS cluster. |
---|
156 | .HP 3 |
---|
157 | 2. The nodes in the GPFS cluster can communicate without the use of a |
---|
158 | password, and without any extraneous messages. |
---|
159 | .RE |
---|
160 | .SH "Examples" |
---|
161 | .RS +3 |
---|
162 | .HP 3 |
---|
163 | 1. To display the default information for all of the NSDs belonging to the |
---|
164 | cluster, issue this command: |
---|
165 | .sp |
---|
166 | .nf |
---|
167 | mmlsnsd |
---|
168 | .fi |
---|
169 | .sp |
---|
170 | The system displays information similar to: |
---|
171 | .sp |
---|
172 | .nf |
---|
173 | File system Disk name Primary node Backup node |
---|
174 | -------------------------------------------------------- |
---|
175 | gpfsa gpfs16nsd k145n06 k145n07 |
---|
176 | gpfsa gpfs17nsd k145n06 k145n07 |
---|
177 | gpfsa gpfs18nsd k145n06 k145n07 |
---|
178 | gpfsa gpfs19nsd k145n06 k145n07 |
---|
179 | gpfsa gpfs20nsd k145n06 k145n07 |
---|
180 | gpfs1 gpfs1nsd (directly attached) |
---|
181 | gpfs1 gpfs2nsd (directly attached) |
---|
182 | gpfs1 gpfs3nsd (directly attached) |
---|
183 | gpfs1 gpfs4nsd (directly attached) |
---|
184 | \ |
---|
185 | .fi |
---|
186 | .sp |
---|
187 | .HP 3 |
---|
188 | 2. To display all of the NSDs attached to the node from which the command is |
---|
189 | issued, issue this command: |
---|
190 | .sp |
---|
191 | .nf |
---|
192 | mmlsnsd -m |
---|
193 | .fi |
---|
194 | .sp |
---|
195 | The system displays information similar to: |
---|
196 | .sp |
---|
197 | .nf |
---|
198 | Disk name NSD volume ID Device Node name Remarks |
---|
199 | ------------------------------------------------------------ |
---|
200 | gpfs16nsd 097284213AA842EC /dev/sdb k145n06 primary node\ |
---|
201 | gpfs16nsd 097284213AA842EC /dev/sdb k145n07 backup node\ |
---|
202 | gpfs17nsd 097284213AA842EF /dev/sdc k145n06 primary node |
---|
203 | gpfs17nsd 097284213AA842EF /dev/sdc k145n07 backup node\ |
---|
204 | gpfs18nsd 097284213AA842F2 /dev/sdd k145n06 primary node |
---|
205 | gpfs18nsd 097284213AA842F2 /dev/sdd k145n07 backup node\ |
---|
206 | gpfs19nsd 097284213AA842F5 /dev/sde k145n06 primary node |
---|
207 | gpfs19nsd 097284213AA842F5 /dev/sde k145n07 backup node\ |
---|
208 | gpfs20nsd 097284213AA842F7 /dev/sdf k145n06 primary node |
---|
209 | gpfs20nsd 097284213AA842F7 /dev/sdf k145n07 backup node\ |
---|
210 | gpfs1nsd 0972841D3AA8420A - k145n06 (not found) directly attached |
---|
211 | gpfs2nsd 0972841D3AA8420B - k145n06 (not found) directly attached\ |
---|
212 | gpfs3nsd 0972841D3AA8420C - k145n06 (not found) directly attached |
---|
213 | gpfs4nsd 0972841D3AA8420D - k145n06 (not found) directly attached |
---|
214 | \ |
---|
215 | .fi |
---|
216 | .sp |
---|
217 | .HP 3 |
---|
218 | 3. To display all of the NSDs in the GPFS cluster in extended format, issue |
---|
219 | this command: |
---|
220 | .sp |
---|
221 | .nf |
---|
222 | mmlsnsd -L |
---|
223 | .fi |
---|
224 | .sp |
---|
225 | The system displays information similar to: |
---|
226 | .sp |
---|
227 | .nf |
---|
228 | File system Disk name NSD volume ID Primary node Backup node |
---|
229 | --------------------------------------------------------------- |
---|
230 | gpfsa gpfs16nsd 097284213AA842EC k145n06 k145n07 |
---|
231 | gpfsa gpfs17nsd 097284213AA842EF k145n06 k145n07 |
---|
232 | gpfsa gpfs18nsd 097284213AA842F2 k145n06 k145n07 |
---|
233 | gpfsa gpfs19nsd 097284213AA842F5 k145n06 k145n07 |
---|
234 | gpfsa gpfs20nsd 097284213AA842F7 k145n06 k145n07 |
---|
235 | gpfs1 gpfs1nsd 0972841D3AA8420A (directly attached) |
---|
236 | gpfs1 gpfs2nsd 0972841D3AA8420B (directly attached) |
---|
237 | gpfs1 gpfs3nsd 0972841D3AA8420C (directly attached) |
---|
238 | gpfs1 gpfs4nsd 0972841D3AA8420D (directly attached) |
---|
239 | .fi |
---|
240 | .sp |
---|
241 | .HP 3 |
---|
242 | 4. To display extended disk information about disks \fBgpfs10nsd\fR, |
---|
243 | \fBgpfs11nsd\fR, \fBsdbnsd\fR, and \fBvp10vsdn06\fR, issue this |
---|
244 | command: |
---|
245 | .sp |
---|
246 | .nf |
---|
247 | mmlsnsd -X -d "gpfs10nsd;gpfs11nsd;sdbnsd;vp10vsdn06" |
---|
248 | .fi |
---|
249 | .sp |
---|
250 | The system displays information similar to: |
---|
251 | .sp |
---|
252 | .nf |
---|
253 | Disk name NSD volume ID Device Devtype Node name Remarks |
---|
254 | ------------------------------------------------------------------------------------------------ |
---|
255 | gpfs10nsd 09725E5E43035A99 /dev/hdisk6 hdisk k155n14.kgn.ibm.com primary |
---|
256 | gpfs10nsd 09725E5E43035A99 /dev/hdisk8 hdisk k155n16.kgn.ibm.com backup |
---|
257 | gpfs11nsd 09725E5E43035AA6 /dev/vpath12 vpath k155n14.kgn.ibm.com primary |
---|
258 | gpfs11nsd 09725E5E43035AA6 /dev/vpath12 vpath k155n16.kgn.ibm.com backup |
---|
259 | sdbnsd 09725E024328783A /dev/sdb generic k156gn02.kgn.ibm.com primary |
---|
260 | sdbnsd 09725E024328783A - generic k156gn03.kgn.ibm.com (not found) backup |
---|
261 | vsdn06 09725E46432877ED /dev/vsdn06 vsd k154gn05.kgn.ibm.com backup;state=ACT; |
---|
262 | lv=vsdn06lv;vg=vsdn06vg |
---|
263 | vsdn06 09725E46432877ED /dev/vsdn06 vsd k154gn06.kgn.ibm.com primary;state=ACT; |
---|
264 | lv=vsdn06lv;vg=vsdn06vg |
---|
265 | \ |
---|
266 | .fi |
---|
267 | .sp |
---|
268 | .RE |
---|
269 | .SH "See also" |
---|
270 | .PP |
---|
271 | mmcrnsd Command |
---|
272 | .PP |
---|
273 | mmdelnsd Command |
---|
274 | .SH "Location" |
---|
275 | .PP |
---|
276 | \fB/usr/lpp/mmfs/bin\fR |
---|
277 | .PP |
---|