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

sanity-pfl test 10 needs to reset the file system default layout

Details

    • Technical task
    • Resolution: Fixed
    • Major
    • Lustre 2.11.0
    • Lustre 2.10.0
    • 9223372036854775807

    Description

      sanity-pfl test_10 sets the default layout on $MOUNT and does not return the file system to the original state. For users running the Lustre test suites as a sanity check on their file systems, this is an unexpected side effect. We should return the file system to the state it was in before running sanity-pfl.

      From sanity-pfl, the following code in test 10 sets the default layout:

              $LFS setstripe -d $MOUNT || error "clear root layout"
      
      	# set root composite layout                                             
      	$LFS setstripe -E 2M -c 1 -S 1M -E 16M -c2 -S 2M \
      		-E -1 -c 4 -S 4M $MOUNT ||
                      error "Set root layout failed"
      

      Here's what the file system layout looks like before and after sanity-pfl test 10:

      # lfs getstripe /lustre/scratch
      /lustre/scratch
      stripe_count:  1 stripe_size:   1048576 stripe_offset: -1
      [root@eagle-48vm6 tests]# ./auster -k -v sanity-pfl --only 10
      Started at Wed Apr 12 14:54:34 UTC 2017
      …
      ./auster: completed with rc 0
      [root@eagle-48vm6 tests]# lfs getstripe /lustre/scratch
      /lustre/scratch
        lcm_layout_gen:  0
        lcm_entry_count: 3
          lcme_id:             N/A
          lcme_flags:          0
          lcme_extent.e_start: 0
          lcme_extent.e_end:   2097152
            stripe_count:  1       stripe_size:   1048576       stripe_offset: -1
          lcme_id:             N/A
          lcme_flags:          0
          lcme_extent.e_start: 2097152
          lcme_extent.e_end:   16777216
            stripe_count:  2       stripe_size:   2097152       stripe_offset: -1
          lcme_id:             N/A
          lcme_flags:          0
          lcme_extent.e_start: 16777216
          lcme_extent.e_end:   EOF
            stripe_count:  4       stripe_size:   4194304       stripe_offset: -1
      

      Attachments

        Issue Links

          Activity

            [LU-9324] sanity-pfl test 10 needs to reset the file system default layout
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-11918 [ LU-11918 ]
            mdiep Minh Diep made changes -
            Link New: This issue is related to LU-10353 [ LU-10353 ]
            pjones Peter Jones made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            mdiep Minh Diep made changes -
            Fix Version/s Original: Lustre 2.10.2 [ 13494 ]
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.10.2 [ 13494 ]
            Fix Version/s Original: Lustre 2.10.1 [ 13090 ]
            simmonsja James A Simmons made changes -
            Link New: This issue is related to LU-9897 [ LU-9897 ]
            adilger Andreas Dilger made changes -
            Fix Version/s New: Lustre 2.10.1 [ 13090 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-9486 [ LU-9486 ]
            adilger Andreas Dilger made changes -
            Fix Version/s New: Lustre 2.11.0 [ 13091 ]
            jamesanunez James Nunez (Inactive) made changes -
            Remote Link New: This issue links to "Page (HPDD Community Wiki)" [ 20268 ]

            People

              bobijam Zhenyu Xu
              jamesanunez James Nunez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: