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

Bad stripe count reported by lfs getstripe when default stripe count set to -1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • Lustre 2.2.0, Lustre 2.1.2
    • Lustre 2.2.0
    • None
    • 3
    • 4762

      When using a default stripe count of -1, the stripe count reported for newly created directory is bogus. Here is how to reproduce:

      [root@client-4 tests]# export STRIPES_PER_OBJ=-1
      [root@client-4 tests]# sh ./llmount.sh
      [...]
      [root@client-4 tests]# lfs getstripe -d /mnt/lustre
      stripe_count:   -1 stripe_size:    1048576 stripe_offset:  -1
      [root@client-4 tests]# mkdir /mnt/lustre/foo
      [root@client-4 tests]# lfs getstripe -d /mnt/lustre/foo
      stripe_count:   4294967295 stripe_size:    1048576 stripe_offset:  -1
                      ^^^^^^^^^^
      

            mdiep Minh Diep - TLC
            johann Johann Lombardi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: