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

ROOT LMA scrub

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      LFSCK always trust FID in LMA more than FID in directory entry and FID in linkea, but it may be corrupt, or it's an IGIF(upgraded from 1.8), while the FID in child's linkea is standard FID. Currently such inconsistency can only be fixed manually, however for special objects like ROOT, it should be able to be repaird automatically. This can be achieved by checking special object LMA during the early mount-time scan, and checking if the subdirectories under ROOT/ have a trusted.link entry matching fid_is_root(), in which case the LMA FID is wrong (probably an IGIF FID) and should be fixed to use [FID_SEQ_ROOT:FID_OID_ROOT:0x0], rather than the IGIF FID.

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              laisiyao Lai Siyao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: