Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
Running e2fsck on a DNE filesystem where LFSCK was run reported:
Entry '..' in <195395086>/<195395122> (195395122) has an incorrect filetype (was 18, should be 1). Entry '..' in <602879868>/<602879869> (602879869) has an incorrect filetype (was 18, should be 1). Entry '..' in <134818057>/<134818059> (134818059) has an incorrect filetype (was 18, should be 1). Entry '..' in <134818057>/<134818064> (134818064) has an incorrect filetype (was 18, should be 1). Entry '..' in <134818057>/<134818066> (134818066) has an incorrect filetype (was 18, should be 1).
This is because the entry file_type has a flag EXT2_DIRENT_LUFID when the dirdata feature stores the FID in the directory entry, and it should be masked when checking the file type.
Attachments
Issue Links
- is related to
-
LU-15913 rename stress test leads to REMOTE_PARENT_DIR corruption
-
- Resolved
-
We have faced with the quite the same issue using rename stress test. Without LFSCK
Entry '14,37275pp37273,aaaaaaaaaa,bbbbbbbbbb,cccccccccc,dddddddddd,eeeeeeeeee,ffffffffff,gggggggggg,hhh' in /REMOTE_PARENT_DIR/0x24006497a:0x129bc:0x0 (4014289161) has an incorrect filetype (was 17, should be 2). Fix? no
'..' in /REMOTE_PARENT_DIR/0x24006497a:0x129bc:0x0/14,37275pp37273,aaaaaaaaaa,bbbbbbbbbb,cccccccccc,dddddddddd,eeeeeeeeee,ffffffffff,gggggggggg,hhh (4014289162) is /REMOTE_PARENT_DIR (4030089985), should be /REMOTE_PARENT_DIR/0x24006497a:0x129bc:0x0 (4014289161). Fix? no
Another symptoms that looks related are