1 | .TH mmsanrepairfs 02/16/06 |
---|
2 | mmsanrepairfs Command |
---|
3 | .SH "Name" |
---|
4 | .PP |
---|
5 | \fBmmsanrepairfs\fR - Repair a file system under the control of |
---|
6 | SANergy. |
---|
7 | .SH "Synopsis" |
---|
8 | .PP |
---|
9 | \fBmmsanrepairfs\fR \fIDevice\fR [\fB-n\fR | |
---|
10 | \fB-f\fR] |
---|
11 | .SH "Description" |
---|
12 | .PP |
---|
13 | Use the \fBmmsanrepairfs\fR command to remove leftover hyper-allocated |
---|
14 | blocks caused by SANergy client failure or SANergy protocol application |
---|
15 | failure. This command can be run on a mounted or unmounted file |
---|
16 | system. |
---|
17 | .SH "Parameters" |
---|
18 | .PP |
---|
19 | .RS +3 |
---|
20 | \fB\fIDevice\fR |
---|
21 | \fR |
---|
22 | .RE |
---|
23 | .RS +9 |
---|
24 | The device name of the file system. File system names need not be |
---|
25 | fully-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 |
---|
35 | Specifies to force unlock SANergy locked files after an existing SANergy |
---|
36 | lease has expired for those files. |
---|
37 | .RE |
---|
38 | .PP |
---|
39 | .RS +3 |
---|
40 | \fB\fB-n\fR |
---|
41 | \fR |
---|
42 | .RE |
---|
43 | .RS +9 |
---|
44 | Specifies to query the current SANergy hyper-allocated blocks state on the |
---|
45 | file system. Does not perform the actual removal of the data |
---|
46 | blocks. |
---|
47 | .RE |
---|
48 | .SH "Exit status" |
---|
49 | .PP |
---|
50 | .PP |
---|
51 | .RS +3 |
---|
52 | \fB0 |
---|
53 | \fR |
---|
54 | .RE |
---|
55 | .RS +9 |
---|
56 | Successful completion. |
---|
57 | .RE |
---|
58 | .PP |
---|
59 | .RS +3 |
---|
60 | \fBnonzero |
---|
61 | \fR |
---|
62 | .RE |
---|
63 | .RS +9 |
---|
64 | A failure has occurred. |
---|
65 | .RE |
---|
66 | .SH "Security" |
---|
67 | .PP |
---|
68 | You must have root authority to run the \fBmmsanrepairfs\fR |
---|
69 | command. |
---|
70 | .PP |
---|
71 | When using the \fBrcp\fR and \fBrsh\fR commands for remote |
---|
72 | communication, a properly configured \fB.rhosts\fR file must exist |
---|
73 | in the root user's home directory on each node in the GPFS |
---|
74 | cluster. If you have designated the use of a different remote |
---|
75 | communication program on the |
---|
76 | \fBmmcrcluster\fR or the |
---|
77 | \fBmmchcluster\fR command, you must ensure: |
---|
78 | .RS +3 |
---|
79 | .HP 3 |
---|
80 | 1. Proper authorization is granted to all nodes in the GPFS cluster. |
---|
81 | .HP 3 |
---|
82 | 2. The nodes in the GPFS cluster can communicate without the use of a |
---|
83 | password, and without any extraneous messages. |
---|
84 | .RE |
---|
85 | .SH "Examples" |
---|
86 | .RS +3 |
---|
87 | .HP 3 |
---|
88 | 1. Issue this command to remove the hyper-allocated blocks from the file |
---|
89 | system named \fBgpfsfc\fR: |
---|
90 | .sp |
---|
91 | .nf |
---|
92 | mmsanrepairfs gpfsfc\ |
---|
93 | .fi |
---|
94 | .sp |
---|
95 | Output is similar to: |
---|
96 | .sp |
---|
97 | .nf |
---|
98 | "gpfsfc" number of disks: 6, number of inodes: 25920, |
---|
99 | blockSize 16384 |
---|
100 | Warning: "gpfsfc" is mounted on 1 node(s) and in use on 2 nodes |
---|
101 | Scanning 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 |
---|
112 | 2. Issue this command to unlock SANergy-locked files in the file system named |
---|
113 | \fBgpfsfc\fR: |
---|
114 | .sp |
---|
115 | .nf |
---|
116 | mmsanrepairfs gpfsfc -f |
---|
117 | .fi |
---|
118 | .sp |
---|
119 | Output is similar to: |
---|
120 | .sp |
---|
121 | .nf |
---|
122 | "gpfsfc" number of disks: 6, number of inodes: 25920, |
---|
123 | blockSize 16384 |
---|
124 | Warning: "gpfsfc" is mounted on 1 node(s) and in use on 2 nodes |
---|
125 | Scanning user file metadata... |
---|
126 | 18432: sanergy unlocked |
---|
127 | 71 % complete on Thu Jul 10 16:52:01 2003 |
---|
128 | Total 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 |
---|
137 | Administration Guide\fR. |
---|
138 | .SH "Location" |
---|
139 | .PP |
---|
140 | \fB/usr/lpp/mmfs/bin\fR |
---|
141 | .PP |
---|