source: gpfs_3.1_ker2.6.20/share/man/man8/mmsanrepairfs.8 @ 16

Last change on this file since 16 was 16, checked in by rock, 16 years ago
File size: 3.1 KB
Line 
1.TH mmsanrepairfs 02/16/06
2mmsanrepairfs Command
3.SH "Name"
4.PP
5\fBmmsanrepairfs\fR - Repair a file system under the control of
6SANergy.
7.SH "Synopsis"
8.PP
9\fBmmsanrepairfs\fR \fIDevice\fR [\fB-n\fR |
10\fB-f\fR]
11.SH "Description"
12.PP
13Use the \fBmmsanrepairfs\fR command to remove leftover hyper-allocated
14blocks caused by SANergy client failure or SANergy protocol application
15failure. This command can be run on a mounted or unmounted file
16system.
17.SH "Parameters"
18.PP
19.RS +3
20\fB\fIDevice\fR
21\fR
22.RE
23.RS +9
24The device name of the file system. File system names need not be
25fully-qualified. \fBfs0\fR is as acceptable as
26\fB/dev/fs0\fR.
27.RE
28.SH "Options"
29.PP
30.RS +3
31\fB\fB-f\fR
32\fR
33.RE
34.RS +9
35Specifies to force unlock SANergy locked files after an existing SANergy
36lease has expired for those files.
37.RE
38.PP
39.RS +3
40\fB\fB-n\fR
41\fR
42.RE
43.RS +9
44Specifies to query the current SANergy hyper-allocated blocks state on the
45file system. Does not perform the actual removal of the data
46blocks.
47.RE
48.SH "Exit status"
49.PP
50.PP
51.RS +3
52\fB0
53\fR
54.RE
55.RS +9
56Successful completion.
57.RE
58.PP
59.RS +3
60\fBnonzero
61\fR
62.RE
63.RS +9
64A failure has occurred.
65.RE
66.SH "Security"
67.PP
68You must have root authority to run the \fBmmsanrepairfs\fR
69command.
70.PP
71When using the \fBrcp\fR and \fBrsh\fR commands for remote
72communication, a properly configured \fB.rhosts\fR file must exist
73in the root user's home directory on each node in the GPFS
74cluster. If you have designated the use of a different remote
75communication program on the
76\fBmmcrcluster\fR or the
77\fBmmchcluster\fR command, you must ensure:
78.RS +3
79.HP 3
801. Proper authorization is granted to all nodes in the GPFS cluster.
81.HP 3
822. The nodes in the GPFS cluster can communicate without the use of a
83password, and without any extraneous messages.
84.RE
85.SH "Examples"
86.RS +3
87.HP 3
881. Issue this command to remove the hyper-allocated blocks from the file
89system named \fBgpfsfc\fR:
90.sp
91.nf
92mmsanrepairfs gpfsfc\
93.fi
94.sp
95Output is similar to:
96.sp
97.nf
98"gpfsfc" number of disks: 6, number of inodes: 25920,
99      blockSize 16384
100Warning: "gpfsfc" is mounted on 1 node(s) and in use on 2 nodes
101Scanning user file metadata...
102  Repairing hyper allocated inode 21888...repaired
103  Repairing hyper allocated inode 21891...repaired
104  Repairing hyper allocated inode 21893...repaired
105  Repairing hyper allocated inode 21897...repaired
106  Repairing hyper allocated inode 21900...repaired
107  Total number of sanergy hyper allocated files 35,
108     inconsistent 0, repaired 35
109.fi
110.sp
111.HP 3
1122. Issue this command to unlock SANergy-locked files in the file system named
113\fBgpfsfc\fR:
114.sp
115.nf
116mmsanrepairfs gpfsfc -f
117.fi
118.sp
119Output is similar to:
120.sp
121.nf
122"gpfsfc" number of disks: 6, number of inodes: 25920,
123         blockSize 16384
124Warning: "gpfsfc" is mounted on 1 node(s) and in use on 2 nodes
125Scanning user file metadata...
126  18432: sanergy unlocked
127    71 % complete on Thu Jul 10 16:52:01 2003
128Total number of sanergy hyper allocated files 0, inconsistent 0,\
129           repaired 0
130.fi
131.sp
132.RE
133.SH "See also"
134.PP
135\fISANergy export considerations\fR in
136\fIGeneral Parallel File System: Advanced
137Administration Guide\fR.
138.SH "Location"
139.PP
140\fB/usr/lpp/mmfs/bin\fR
141.PP
Note: See TracBrowser for help on using the repository browser.