[LU-5475] readdir missing a directory Created: 11/Aug/14 Updated: 11/May/15 Resolved: 19/Feb/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.4.2 |
| Fix Version/s: | Lustre 2.7.0, Lustre 2.5.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Christopher Morrone | Assignee: | Oleg Drokin |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | llnl | ||
| Issue Links: |
|
||||||||||||||||
| Severity: | 3 | ||||||||||||||||
| Rank (Obsolete): | 15252 | ||||||||||||||||
| Description |
|
A directory tree was copied into a subdirectory of Lustre. At least one of the subdirectories in the newly created tree in Lustre does not appear in its parent's directory listing. The directory does exist, and it is possible to cd into that unlisted directory. The same behavior is exhibited from multiple clients, so it is not a problem of just one client's cache being corrupt. We are seeing this with the LLNL branch of Lustre 2.4.2 (github.com/chaos/lustre). We could not identify any console messages associated with the problem. The problem was seen on the secure network, so we cannot directly provide any logs. This problem has suspiciously similar symptoms in common with |
| Comments |
| Comment by Oleg Drokin [ 12/Aug/14 ] |
|
Hm, not a lot of data in here, unfortunately. It is odd that in both cases zfs is used server side. Lustre itself does not really cache anything server-side, so should there be some odd interaction within zfs (or between lustre and zfs of course) that would hide a directory from appearing in readdir output, this is exactly what would be seen. Is there anything else known? E.g. was there a lot of stuff in the parent dir (possibly an issue of skipping an entry between pages or something)? If you create the same parent dir with the same names inside in a different lustre place - does the problem reappear by any chance? |
| Comment by Christopher Morrone [ 19/Aug/14 ] |
It is not a stale cache problem. Nodes that have never seen the directory before (or have had their cache cleared) do not see the directory.
Note really.
No, it is not that easily reproduced. |
| Comment by Nathaniel Clark [ 06/Oct/14 ] |
|
I have reproduced a very similar issue where readdir is missing a file. I can reproduce this on a ZFS backed MDT with high regularity. |
| Comment by Peter Jones [ 20/Oct/14 ] |
|
Just to be clear - updates are on |
| Comment by Peter Jones [ 10/Nov/14 ] |
|
Chris The patch for Peter |
| Comment by Peter Jones [ 24/Nov/14 ] |
| Comment by Peter Jones [ 02/Feb/15 ] |
|
Just to capture that the latest version of |
| Comment by Nathaniel Clark [ 19/Feb/15 ] |
|
This was fixed by |