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

removing files on deactivated OST doesn't free up space

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not a Bug
    • Affects Version/s: Lustre 2.4.1
    • Fix Version/s: None
    • Labels:
    • Environment:
      Lustre 2.4.1 RHEL6 2.6.32-358.18.1.el6_lustre.x86_64

      Description

      One OST is deactivated on the MDS via "lctl --device 56 deactivate".

      Now when I try to drain the OST, I can remove (rm) files without an error message, but no space gets freed up on that OST as shown in "lfs df" output.

      I assume it only removed the inode/object on the MDS, but doesn't touch the deactivated OST, leaving all the migrated files behind as orphaned objects on the OST, which is pretty bad.

      If I do the same migration with the OST active, space as shown in "lfs df" does get freed up correctly.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wc-triage WC Triage
                Reporter:
                wbaudler Wolfgang Baudler
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: