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

HSM: incorrect progress reported by lfs hsm_action

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • Lustre 2.6.0
    • Centos 6.5
      Lustre 2.5.56
    • 3
    • 14572

    Description

      While archiving a 5GiB file on a client:

      # ls -l bigf
      -rw-r--r--  1 root root 5129887744 Jun 18 16:48 bigf
      # lfs hsm_archive bigf
      

      I repeatedly checked the progress with lfs hsm_action:

      bigf: ARCHIVE running (0xa00000 bytes moved)
      ...
      bigf: ARCHIVE running (0x3200000 bytes moved)
      ...
      bigf: ARCHIVE running (0x6400000 bytes moved)
      ...
      ...
      ...
      bigf: ARCHIVE running (0x1a0e500000 bytes moved)
      ...
      bigf: NOOP
      

      The last result should have been close to 5 GiB, instead it was 0x1a0e500000 = 111909273600 = 104GiB

      It appears the (correct) lengths sent by the copytool through llapi_hsm_action_progress() are being added somewhere in the kernel modules.

      Also, is there a reason for the reported size to be written in hex? It's not convenient.

      Attachments

        1. LU-5231_logs.txt
          35 kB
          Vinayak Hariharmath

        Activity

          [LU-5231] HSM: incorrect progress reported by lfs hsm_action
          pjones Peter Jones made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          pjones Peter Jones made changes -
          Fix Version/s Original: Lustre 2.8.0 [ 11113 ]
          pjones Peter Jones made changes -
          Fix Version/s New: Lustre 2.8.0 [ 11113 ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          pjones Peter Jones made changes -
          Labels Original: HSM New: HSM patch
          vinayak_clogeny Vinayak Hariharmath (Inactive) made changes -
          Attachment New: LU-5231_logs.txt [ 15850 ]
          adilger Andreas Dilger made changes -
          Affects Version/s New: Lustre 2.6.0 [ 10595 ]
          Affects Version/s Original: Lustre 2.5.1 [ 10608 ]
          jlevi Jodi Levi (Inactive) made changes -
          Labels Original: hsm New: HSM
          adilger Andreas Dilger made changes -
          Labels New: hsm
          fzago Frank Zago (Inactive) created issue -

          People

            wc-triage WC Triage
            fzago Frank Zago (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated: