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

lfs mirror delete by component-id does not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • Upstream
    • 3
    • 9223372036854775807

    Description

      --comp-id option of "lfs mirror delete" does not work and trigger the following error :

      [root@vm4 flr]# lfs getstripe foo
      foo
        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: 4
            lmm_objects:
            - 0: { l_ost_idx: 4, l_fid: [0x100040000:0x182:0x0] }
      
          lcme_id:             131074
          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: 2
            lmm_objects:
            - 0: { l_ost_idx: 2, l_fid: [0x100020000:0x182:0x0] }
      
      [root@vm4 flr]# lfs mirror delete --comp-id 65537 foo
      lfs mirror delete delete: option -d is mutually exclusive with -s, -c, -o, -p, -I, -F and -E options
      delete a mirror from a file.
      

      I suppose it uses an error message from "lfs mirror split" but I (--comp-id) and -p should be allowed to be used both for "lfs mirror delete" and "lfs mirror split -d" according to their manpage.
      (-p works and does not trigger the error)

      Attachments

        Activity

          People

            wc-triage WC Triage
            baillergeau Kevin Baillergeau (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: