Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-15520 OST object projid and quota reset
  3. LU-16266

LFSCK to verify and repair PRJID/UID/GID mismatch on OST objects

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • 9223372036854775807

    Description

      When doing a layout scan to check MDT-OST object connectivity, LFSCK should also verify and correct mismatches of the PRJID, UID, and GID between the MDT inode and OST object(s). The MDT inode values are the only ones visible to userspace applications, but the OST object values are used for quota accounting and should be kept in sync. The UID/GID/PRJID are normally set on the OST objects automatically when they are first modified by the client, but can sometimes get out of sync (e.g. failed/aborted MDT recovery), so LFSCK should repair this inconsistency automatically during scanning.

      Attachments

        Activity

          People

            wc-triage WC Triage
            adilger Andreas Dilger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: