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

lfs getstripe should not give lhm_pattern: hsm for foreign component

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • Lustre 2.17.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      Here is an output example of a foreign component for PCC :

      $ lfs getstripe /lustre/PCC
      /lustre/exafs/client/HSM
        lcm_layout_gen:    2
        lcm_mirror_count:  2
        lcm_entry_count:   2
          lcme_id:             65537
          lcme_mirror_id:      1
          lcme_flags:          init
          lcme_extent.e_start: 0
          lcme_extent.e_end:   EOF
            lmm_stripe_count:  1
            lmm_stripe_size:   1048576
            lmm_pattern:       raid0
            lmm_layout_gen:    0
            lmm_stripe_offset: 3
            lmm_objects:
            - 0: \{ l_ost_idx: 3, l_fid: [0x300000401:0xc3:0x0] }
      
          lcme_id:             131074
          lcme_mirror_id:      2
          lcme_flags:          init
          lcme_extent.e_start: 0
          lcme_extent.e_end:   EOF
            lhm_magic:         0x0BD70BD0
            lhm_pattern:       hsm
            lhm_length:        56
            lhm_type:          0x00000003 (pccro)
            lhm_flags:         exists,archived,pccro,0x109
            lhm_archive_id:    0
            lhm_archive_ver:   0
            lhm_archive_uuid:  ''
      

      Foreign component are used for S3 PCC and POSIX but not HSM.

      Since hsm mechanisms are not using foreign component yet, we should have :
      lhm_pattern:       foreign

      Attachments

        Activity

          People

            acedeyn Aurélien Cedeyn
            acedeyn Aurélien Cedeyn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: