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

lfs: can't release a migrated file

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • Upstream
    • 3
    • 16477

    Description

      After a file has been archived and migrated, it's not possible to release it.

      # dd if=/dev/urandom of=rand1 bs=4096 count=1024
      ...
      # lfs hsm_archive rand1
      # lfs migrate -o 0 -S 65536 rand1
      # lfs hsm_release rand1
      Cannot send HSM request (use of rand1): Device or resource busy
      

      The file content is still accessible, and its hsm state is correct.

      Attachments

        Issue Links

          Activity

            [LU-5896] lfs: can't release a migrated file
            courrier Guillaume Courrier added a comment - - edited

            Yes, this patch is still useful. I didn't take the time to make the tests pass so it was missing reviews. I'll update the patch with your remarks and make the tests pass.

            courrier Guillaume Courrier added a comment - - edited Yes, this patch is still useful. I didn't take the time to make the tests pass so it was missing reviews. I'll update the patch with your remarks and make the tests pass.

            eaujames, courrier,
            there is still patch https://review.whamcloud.com/35022 "LU-5896 hsm: can't remove a migrated file" open on this ticket. Is that patch still useful and should be refreshed, or should it be abandoned?

            adilger Andreas Dilger added a comment - eaujames , courrier , there is still patch https://review.whamcloud.com/35022 " LU-5896 hsm: can't remove a migrated file " open on this ticket. Is that patch still useful and should be refreshed, or should it be abandoned?

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/54473/
            Subject: LU-5896 wirecheck: add swap layout structs to wirecheck
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 8edc3e7876e36e0895706f7ededd4dd71b66c71a

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/54473/ Subject: LU-5896 wirecheck: add swap layout structs to wirecheck Project: fs/lustre-release Branch: master Current Patch Set: Commit: 8edc3e7876e36e0895706f7ededd4dd71b66c71a

            "Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/57791
            Subject: LU-5896 wirecheck: add swap layout structs to wirecheck
            Project: fs/lustre-release
            Branch: b2_15
            Current Patch Set: 1
            Commit: 84e14674ab2e256d824ffbdb7befa5a520aefc1d

            gerrit Gerrit Updater added a comment - "Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/57791 Subject: LU-5896 wirecheck: add swap layout structs to wirecheck Project: fs/lustre-release Branch: b2_15 Current Patch Set: 1 Commit: 84e14674ab2e256d824ffbdb7befa5a520aefc1d

            "Guillaume Courrier <guillaume.courrier@cea.fr>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/54473
            Subject: LU-5896 wirecheck: add swap layout structs to wirecheck
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: a2a4f464b1122002944d92acbeb41a729bf80041

            gerrit Gerrit Updater added a comment - "Guillaume Courrier <guillaume.courrier@cea.fr>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/54473 Subject: LU-5896 wirecheck: add swap layout structs to wirecheck Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: a2a4f464b1122002944d92acbeb41a729bf80041

            "Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53296
            Subject: LU-5896 mdt: allow release after blocking migrations
            Project: fs/lustre-release
            Branch: b2_15
            Current Patch Set: 1
            Commit: 2efedbd708390c745ef0a61dee8943a293fde429

            gerrit Gerrit Updater added a comment - "Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53296 Subject: LU-5896 mdt: allow release after blocking migrations Project: fs/lustre-release Branch: b2_15 Current Patch Set: 1 Commit: 2efedbd708390c745ef0a61dee8943a293fde429

            People

              ablagodarenko Artem Blagodarenko
              fzago Frank Zago (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated: