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

DoM/HSM: hsm_release fails after hsm_restore

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Lustre 2.12.0
    • Fix Version/s: None
    • Labels:
    • Severity:
      3
    • Rank (Obsolete):
      9223372036854775807

      Description

       There is an issue when releasing a file striped with DoM after an hsm_restore.

      To reproduce:

      1) create a file with a 1st component on MDT:

      lfs setstripe -E 1M -L mdt -E -1 -S 4M -c -1 /mnt/lustre/domfile

      2) archive and release the file (requires HSM set up)
       

      lfs hsm_archive /mnt/lustre/domfile
      # (wait for archive to complete)
      lfs hsm_release

      3) restore the file

      lfs hsm_restore /mnt/lustre/domfile
      # or cat /mnt/lustre/domfile

      4) release the file => FAILS 

      lfs hsm_release /mnt/lustre/domfile
      
      Cannot send HSM request (use of /mnt/lustre/domfile): Device or resource busy

       
      It may be something wrong with the data version stored in hsm EA.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tappro Mikhail Pershin
                Reporter:
                tl-cea Thomas Leibovici
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: