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

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

    XMLWordPrintable

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

            People

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

              Dates

                Created:
                Updated: