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

LFSCK reports repaired_inconsistent_owner after truncate operation

XMLWordPrintable

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

      The truncate operation consistently leads to LFSCK reporting repaired_inconsistent_owner. This issue occurs in Lustre version 2.15.6 (other versions not tested)

      Steps to Reproduce:

      1. sudo chown -R $USER: /mnt/lustre
      2. lfs setstripe -o 0,1 /mnt/lustre
      3. touch /mnt/lustre/file1
      4. truncate -s 1M /mnt/lustre/file1
      5. sudo lctl lfsck_start -A -r -t all -C -c -o -d

      Results:
      repaired_inconsistent_owner: 2
      This issue appears to be consistently reproducible following the steps outlined above. Truncating to other sizes (e.g. truncate -s 1048596) also gives inconsistent owner issue.

      Note that truncating files to a smaller size works fine and behaves as expected.

       

            wc-triage WC Triage
            zanhua Zanhua Huang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: