[LU-5462] trigger OI Created: 08/Aug/14 Updated: 29/Oct/14 Resolved: 29/Oct/14 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.4.3 |
| Fix Version/s: | None |
| Type: | Question/Request | Priority: | Minor |
| Reporter: | Mahmoud Hanafi | Assignee: | nasf (Inactive) |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Rank (Obsolete): | 15219 |
| Description |
|
After restart of MDT we got this error. What does mean? |
| Comments |
| Comment by Peter Jones [ 08/Aug/14 ] |
|
Fan Yong Could you please advise with this one? Thanks Peter |
| Comment by nasf (Inactive) [ 08/Aug/14 ] |
|
Hi Mahmoud, What is the output for "cat /proc/fs/lustre/osd-ldiskfs/nbp7-MDT0000/oi_scrub" ? |
| Comment by Mahmoud Hanafi [ 08/Aug/14 ] |
|
nbp7-mds1 ~ # cat /proc/fs/lustre/osd-ldiskfs/nbp7-MDT0000/oi_scrub |
| Comment by nasf (Inactive) [ 09/Aug/14 ] |
|
The OI scrub is used for rebuilding crashed "FID=>ino/gen" mapping. These message means that during your system running, it found bad "FID=>ino/gen" mapping, then triggered OI scrub to repair the inconsistency automatically. It may be because of data crash, it also may be because of system upgrade, but of course, we cannot say there are no any non-known bugs in the code as to trigger OI scrub by wrong. From the output "cat /proc/fs/lustre/osd-ldiskfs/nbp7-MDT0000/oi_scrub", your system has ever run OI scrub for 3 times, and two items (mappings) have been repaired in the latest run. Since the OI scrub has completely already, we can generally say that your system comes back to consistency again. So you can keep it there without anything else, the system should can work well. But if you want to know more about the system status, you can disable OI scrub auto trigger mechanism by "echo 0 > /proc/fs/lustre/osd-ldiskfs/nbp7-MDT0000/auto_scrub", then when found bad OI mapping next time, the system will not repair the inconsistency automatically, instead, it may cause related application failure, and then we can try to dump more logs. |
| Comment by nasf (Inactive) [ 29/Oct/14 ] |
|
Hi Mahmoud, |
| Comment by Mahmoud Hanafi [ 29/Oct/14 ] |
|
can be closed |
| Comment by Peter Jones [ 29/Oct/14 ] |
|
ok thanks Mahmoud |