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

Running lfs hsm commands results in "No data available"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • Lustre 2.8.0
    • 3
    • HSM
    • 9223372036854775807

    Description

      When running multiple lfs hsm commands in parallel, a file becomes inaccessible.

      Here is a reproducer:

      # cd /lustre
      # echo aaa > file1
      # cat file1
      aaa
      # while true; do lfs hsm_archive file1;  lfs hsm_release file1;  lfs hsm_restore file1;  lfs hsm_remove file1; done
      # while true; do lfs hsm_archive file1;  lfs hsm_release file1;  lfs hsm_restore file1;  lfs hsm_remove file1; done (run on another terminal)
      <wait for a while>
      # lfs hsm_state file1
      file1: (0x00000005) released exists, archive_id:1
      # cat file1
      cat: file1: No data available
      

      From the result of lfs hsm_state, it appears that the file data which has not been archived has been released.

      Attachments

        Activity

          People

            wc-triage WC Triage
            takamura Tatsushi Takamura
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: