source: gpfs_3.1_ker2.6.20/share/man/man8/mmlsnsd.8 @ 219

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