Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-14570

e2fsck reports "Entry '..' an incorrect filetype (was 18, should be 1)"

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

          Activity

            [LU-14570] e2fsck reports "Entry '..' an incorrect filetype (was 18, should be 1)"
            adilger Andreas Dilger made changes -
            Link New: This issue is related to DDN-3275 [ DDN-3275 ]
            mwolf Matthias Wolf made changes -
            Link New: This issue is related to DDN-3384 [ DDN-3384 ]
            spitzcor Cory Spitz made changes -
            Link New: This issue is related to LU-15913 [ LU-15913 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to DDN-2622 [ DDN-2622 ]
            adilger Andreas Dilger made changes -
            Link New: This issue duplicates DDN-1990 [ DDN-1990 ]
            adilger Andreas Dilger created issue -

            People

              adilger Andreas Dilger
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: