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

removing files on deactivated OST doesn't free up space

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • Lustre 2.4.1
    • Lustre 2.4.1 RHEL6 2.6.32-358.18.1.el6_lustre.x86_64

      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.

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

              Created:
              Updated:
              Resolved: