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

PFL layout don't inherit correctly from default layout.

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • Lustre 2.12.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      it looks PFL layout don't inherit correctly.

      [root@rhel7-1 utils]# ./lfs getstripe /mnt/lustre
      /mnt/lustre
      stripe_count:  1 stripe_size:   1048576 pattern:       0 stripe_offset: -1
      
      [root@rhel7-1 utils]# ./lfs setstripe -c -1 -E -1 /mnt/lustre
      [root@rhel7-1 utils]# mkdir /mnt/lustre/testdir
      [root@rhel7-1 utils]# ./lfs getstripe /mnt/lustre
      /mnt/lustre
        lcm_layout_gen:    0
        lcm_mirror_count:  1
        lcm_entry_count:   1
          lcme_id:             N/A
          lcme_mirror_id:      N/A
          lcme_flags:          0
          lcme_extent.e_start: 0
          lcme_extent.e_end:   EOF
            stripe_count:  -1       stripe_size:   1048576       pattern:       raid0       stripe_offset: -1
      
      /mnt/lustre/testdir
      stripe_count:  1 stripe_size:   1048576 pattern:       70 stripe_offset: -1
      

      2.12 have same bug, 2.11 inherit this layout correctly.

      [root@rhel7-1 utils]# ./lfs setstripe -c -1 -E -1 /mnt/lustre
      [root@rhel7-1 utils]# mkdir /mnt/lustre/testdir
      [root@rhel7-1 utils]# ./lfs getstripe /mnt/lustre
      /mnt/lustre
        lcm_layout_gen:    0
        lcm_mirror_count:  1
        lcm_entry_count:   1
          lcme_id:             N/A
          lcme_mirror_id:      N/A
          lcme_flags:          0
          lcme_extent.e_start: 0
          lcme_extent.e_end:   EOF
            stripe_count:  -1       stripe_size:   1048576       pattern:       raid0       stripe_offset: -1
      
      /mnt/lustre/testdir
        lcm_layout_gen:    0
        lcm_mirror_count:  1
        lcm_entry_count:   1
          lcme_id:             N/A
          lcme_mirror_id:      N/A
          lcme_flags:          0
          lcme_extent.e_start: 0
          lcme_extent.e_end:   EOF
            stripe_count:  -1       stripe_size:   1048576       pattern:       raid0       stripe_offset: -1
      

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              shadow Alexey Lyashkov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: