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

lfs setstripe of directory one stripe value resets the others

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • Lustre 2.10.5
    • None
    • 3
    • 9223372036854775807

    Description

      Expected behavior is unchanged values remain the same.

       

      This is with lustre 2.10.4 client:

      [root@ieel-c01 fs1]# mkdir testdir
      [root@ieel-c01 fs1]# lfs getstripe -d testdir/
      stripe_count:  1 stripe_size:   1048576 stripe_offset: -1
      [root@ieel-c01 fs1]# lfs setstripe -S 2M testdir/
      [root@ieel-c01 fs1]# lfs setstripe -i -1 testdir/
      [root@ieel-c01 fs1]# lfs getstripe -d testdir/
      stripe_count:  1 stripe_size:   1048576 stripe_offset: -1
      

      Expected: stripe_count: 1 stripe_size: 2097152 stripe_offset: -1

      [root@ieel-c01 fs1]# lfs setstripe -c -1 -S 2M testdir/
      [root@ieel-c01 fs1]# lfs getstripe -d testdir/
      stripe_count:  -1 stripe_size:   2097152 stripe_offset: -1
      [root@ieel-c01 fs1]# lfs setstripe -i 0 testdir/
      [root@ieel-c01 fs1]# lfs getstripe -d testdir/
      stripe_count:  1 stripe_size:   1048576 stripe_offset: 0

      Expected: stripe_count: -1 stripe_size: 2097152 stripe_offset: 0

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              utopiabound Nathaniel Clark
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: