source: gpfs_3.1_ker2.6.20/share/man/man8/mmdelnsd.8 @ 50

Last change on this file since 50 was 16, checked in by rock, 17 years ago
File size: 4.4 KB
RevLine 
[16]1.TH mmdelnsd 02/16/06
2mmdelnsd Command
3.SH "Name"
4.PP
5\fBmmdelnsd\fR - Deletes Network Shared Disks (NSDs) from the GPFS
6cluster.
7.SH "Synopsis"
8.PP
9\fBmmdelnsd\fR
10{"\fIDiskName\fR[;\fIDiskName\fR...]"
11| \fB-F\fR \fIDiskFile\fR}
12.PP
13Or,
14.PP
15\fBmmdelnsd\fR \fB-p\fR \fINSDId\fR [\fB-N\fR
16{\fINode\fR[,\fINode\fR] }]
17.SH "Description"
18.PP
19The \fBmmdelnsd\fR command serves two purposes:
20.RS +3
21.HP 3
221. Delete NSDs from the GPFS cluster.
23.HP 3
242.
25Remove the unique NSD volume ID left on the disk after the failure of a
26previous invocation of the \fBmmdelnsd\fR command. The NSD had been
27successfully deleted from the GPFS cluster but there was a failure to clear
28sector 2 of the disk.
29.RE
30.PP
31The NSD being deleted cannot be part of any file system. Either the
32\fBmmdeldisk\fR or \fBmmdelfs\fR command must be issued prior to deleting
33the NSD from the GPFS cluster.
34.PP
35The NSD being deleted cannot be a tiebreaker disk. Use the \fBmmchconfig\fR command to assign new tiebreaker disks
36prior to deleting the NSD from the cluster.
37.PP
38\fBResults\fR
39.PP
40Upon successful completion of the \fBmmdelnsd\fR command, these tasks
41are completed:
42.RS +3
43.HP 3
44\(bu All references to the disk are removed from the GPFS cluster data.
45.HP 3
46\(bu Sector 2 of the disk is cleared of the unique NSD volume ID.
47.RE
48.SH "Parameters"
49.PP
50.RS +3
51\fB\fIDiskName\fR[;\fIDiskName\fR...]
52\fR
53.RE
54.RS +9
55Specifies the names of the NSDs to be deleted from the GPFS
56cluster. Specify the names generated when the NSDs were created.
57Use the
58\fBmmlsnsd -F\fR command to display disk
59names. If there is more than one disk to be deleted, delimit each name
60with a semicolon (;) and enclose the list of disk names in quotation
61marks.
62.RE
63.PP
64.RS +3
65\fB-F \fIDiskFile\fR
66\fR
67.RE
68.RS +9
69Specifies a file containing the names of the NSDs, one per line, to be
70deleted from the GPFS cluster.
71.RE
72.PP
73.RS +3
74\fB-N \fINode\fR[,\fINode\fR]
75\fR
76.RE
77.RS +9
78Specifies the nodes to which the disk is attached. If no nodes are
79listed, the disk is assumed to be directly attached to the local node.
80Only one or two nodes may be specified with the \fB-N\fR flag.
81.PP
82For information on how to specify node names, see \fISpecifying nodes as input to GPFS commands\fR
83in \fIGPFS: Administration and Programming Reference\fR.
84.RE
85.PP
86.RS +3
87\fB-p \fINSDId\fR
88\fR
89.RE
90.RS +9
91Specifies the NSD volume ID of an NSD that needs to be cleared from the
92disk as indicated by the failure of a previous invocation of the
93\fBmmdelnsd\fR command.
94.RE
95.SH "Options"
96.PP
97NONE
98.SH "Exit status"
99.PP
100.PP
101.RS +3
102\fB0
103\fR
104.RE
105.RS +9
106Successful completion.
107.RE
108.PP
109.RS +3
110\fBnonzero
111\fR
112.RE
113.RS +9
114A failure has occurred.
115.RE
116.SH "Security"
117.PP
118You must have root authority to run the \fBmmdelnsd\fR command.
119.PP
120You may issue the \fBmmdelnsd\fR command from any node in the GPFS
121cluster.
122.PP
123When using the \fBrcp\fR and \fBrsh\fR commands for remote
124communication, a properly configured \fB.rhosts\fR file must exist
125in the root user's home directory on each node in the GPFS
126cluster. If you have designated the use of a different remote
127communication program on either the
128\fBmmcrcluster\fR
129or the
130\fBmmchcluster\fR command, you must
131ensure:
132.RS +3
133.HP 3
1341. Proper authorization is granted to all nodes in the GPFS cluster.
135.HP 3
1362. The nodes in the GPFS cluster can communicate without the use of a
137password, and without any extraneous messages.
138.RE
139.SH "Examples"
140.PP
141To delete \fBgpfs2nsd\fR and \fBgpfs3nsd\fR from the GPFS cluster,
142issue this command:
143.sp
144.nf
145mmdelnsd "gpfs2nsd;gpfs3nsd"
146.fi
147.sp
148.PP
149The system displays output similar to:
150.sp
151.nf
152mmdelnsd: Processing disk gpfs2nsd
153mmdelnsd: Processing disk gpfs3nsd
154mmdelnsd: 6027-1371 Propagating the changes to all affected
155                    nodes. This is an asynchronous process.
156.fi
157.sp
158.PP
159To confirm the deletion, issue this command:
160.sp
161.nf
162mmlsnsd
163.fi
164.sp
165.PP
166The system displays information similar to:
167.sp
168.nf
169 File system   Disk name    Primary node      Backup node
170 --------------------------------------------------------
171 fs0           gpfs16nsd    k145n06              k145n07
172 fs0           gpfs17nsd    k145n06              k145n07
173 fs0           gpfs18nsd    k145n06              k145n07
174 fs0           gpfs19nsd    k145n06              k145n07
175 fs0           gpfs20nsd    k145n06              k145n07
176 fs1           gpfs1nsd    (directly attached)
177 fs1           gpfs4nsd    (directly attached)\
178\
179.fi
180.sp
181.SH "See also"
182.PP
183mmcrnsd Command
184.PP
185mmlsnsd Command
186.SH "Location"
187.PP
188\fB/usr/lpp/mmfs/bin\fR
189.PP
Note: See TracBrowser for help on using the repository browser.