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

"lfs find --pool" does not work for PFL files

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Lustre 2.10.8, Lustre 2.14.0, Lustre 2.12.6
    • Fix Version/s: Lustre 2.14.0
    • Labels:
    • Severity:
      3
    • Rank (Obsolete):
      9223372036854775807

      Description

      Running "lfs find --pool <pool_name>" on a PFL or FLR file does not actually find files that contain that pool:

      # lfs setstripe -E 16M --pool audio -c 1 -E eof -c -1 /myth/tmp/tmp/pflfile-onepool
      # lfs getstripe /myth/tmp/tmp/pflfile-onepool
      /myth/tmp/tmp/pflfile-onepool
        lcm_layout_gen:    2
        lcm_mirror_count:  1
        lcm_entry_count:   2
          lcme_id:             1
          lcme_mirror_id:      0
          lcme_flags:          init
          lcme_extent.e_start: 0
          lcme_extent.e_end:   16777216
            lmm_stripe_count:  1
            lmm_stripe_size:   1048576
            lmm_pattern:       raid0
            lmm_layout_gen:    0
            lmm_stripe_offset: 2
            lmm_pool:          audio
            lmm_objects:
            - 0: { l_ost_idx: 2, l_fid: [0x100020000:0x2a9fd5:0x0] }
      
          lcme_id:             2
          lcme_mirror_id:      0
          lcme_flags:          0
          lcme_extent.e_start: 16777216
          lcme_extent.e_end:   EOF
            lmm_stripe_count:  2
            lmm_stripe_size:   1048576
            lmm_pattern:       raid0
            lmm_layout_gen:    0
            lmm_stripe_offset: -1
            lmm_pool:          audio
      # lfs find /myth/tmp/tmp -type f --pool audio
      /myth/tmp/tmp/append/foo
      /myth/tmp/tmp/append/baz
      /myth/tmp/tmp/pflpool
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                adilger Andreas Dilger
                Reporter:
                adilger Andreas Dilger
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: