[LU-11291] recovering from LU-10437 Created: 28/Aug/18 Updated: 05/Oct/22 Resolved: 05/Oct/22 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.11.0, Lustre 2.10.3 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Mahmoud Hanafi | Assignee: | Jian Yu |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Severity: | 2 | ||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||
| Description |
|
We has some files that were created with 2.11 client and 2.10.3 server that hit on 2.11 clients + updated 2.10.5 server
$ ls -l
ls: cannot access 'test': Invalid argument
total 1040384
-????????? ? ? ? ? ? test
on 2.10.3 clients + updated 2.10.5 server ls -l test -rw------- yyyy xxx 8388608 Aug 28 15:44 test Only root can view them correctly. |
| Comments |
| Comment by Mahmoud Hanafi [ 29/Aug/18 ] |
|
here is what we get in the logs. [588862.457231] LustreError: 96988:0:(lcommon_cl.c:187:cl_file_inode_init()) Failure to initialize cl object [0x200000bd6:0xc7d1:0x0]: -22 [588862.457245] LustreError: 96988:0:(llite_lib.c:2357:ll_prep_inode()) new_inode -fatal: rc -22 |
| Comment by Andreas Dilger [ 29/Aug/18 ] |
|
If the problem relates to FLR functionality added in 2.11 as indicated in My recommendation would be to find the inaccessible files with a 2.11 client, and then use "lfs migrate" on a 2.10 client to fix the layout. Depending on what "lfs getstripe -v" reports for such files (e.g. strange lcme_flags) it may be possible to use something like "lfs find /mnt/lustre --comp-count +1 --comp-flags=stale,prefer,offline" to find these files on a 2.10 client directly. Depending on how many files the lfs find operation locates, it may well be faster to migrate them to clear the flags rather than waiting for a code fix to be developed, tested, and be installed on your system. Jian, |
| Comment by Jian Yu [ 30/Aug/18 ] |
|
Sure, Andreas, I'll work on these improvements. |