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

lfs mirror split exits with status zero on invalid mirror ids

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • Lustre 2.12.0, Lustre 2.14.0
    • None
    • 3
    • 9223372036854775807

    Description

      k:lustre# lfs mirror extend -N -p ddn_ssd /mnt/lustre/d0/f0
      k:lustre# lfs getstripe /mnt/lustre/d0/f0
      /mnt/lustre/d0/f0
        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: 0
            lmm_pool:          ddn_ssd
            lmm_objects:
            - 0: { l_ost_idx: 0, l_fid: [0x100000000:0x2:0x0] }
      
          lcme_id:             131073
          lcme_mirror_id:      2
          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: 0
            lmm_pool:          ddn_ssd
            lmm_objects:
            - 0: { l_ost_idx: 0, l_fid: [0x100000000:0x3:0x0] }
      
      k:lustre# lfs mirror split -d --mirror-id=42 /mnt/lustre/d0/f0
      error lt-lfs mirror split: file '/mnt/lustre/d0/f0' does not contain mirror with id 42
      k:lustre# echo $?
      0
      

      Attachments

        Activity

          People

            wc-triage WC Triage
            jhammond John Hammond
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: