Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-9349 PFL known issues tracking ticket
  3. LU-9424

‘lfs getstripe --component-count’ return nothing for non-composite files

    Details

    • Type: Technical task
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Lustre 2.10.0
    • Fix Version/s: Lustre 2.10.0
    • Labels:
    • Rank (Obsolete):
      9223372036854775807

      Description

      I’ve created several composite and non-composite files:

      # touch /lustre/scratch/nocomp
      # lfs setstripe -E 1M -E 2M -E 3M /lustre/scratch/threecompfile
      # lfs setstripe -E 3M /lustre/scratch/onec
      # lfs setstripe -E 1m -E 4M /lustre/scratch/twoc
      

      For non-composite (non-PFL) files, I thought the component count would be 0 or 1, but that’s not the case. Using ‘lfs find –component-count’, I know that the component count for the non-composite file, nocomp, is not 0 and not 1:

      # lfs getstripe --component-count /lustre/scratch/nocomp 
      # lfs getstripe --component-count /lustre/scratch/onec 
      1
      # lfs getstripe --component-count /lustre/scratch/twoc 
      2
      # lfs getstripe --component-count /lustre/scratch/threecompfile 
      3
      
      # lfs find --component-count 0 /lustre/scratch
      # lfs find --component-count 1 /lustre/scratch
      /lustre/scratch/onec
      
      # lfs find ! --component-count 0 /lustre/scratch
      /lustre/scratch
      /lustre/scratch/twoc
      /lustre/scratch/onec
      /lustre/scratch/nocomp
      /lustre/scratch/threecompfile
      
      # lfs find ! --component-count 1 /lustre/scratch
      /lustre/scratch
      /lustre/scratch/twoc
      /lustre/scratch/nocomp
      /lustre/scratch/threecompfile
      

      It seems like non-composite files should have a count of 1 or, possibly, 0.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                niu Niu Yawei (Inactive)
                Reporter:
                jamesanunez James Nunez
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: