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

lfs mkdir -c can cause repeated MDT indexes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • Lustre 2.13.0, Lustre 2.12.3
    • 3
    • 9223372036854775807

    Description

      For a large (e.g. 5) number of MDTs, doing the following:

      lfs mkdir -c 5 dir/

      Can yield an MDT distribution of: 4, 0, 4, 1, 2 or other distributions with repeated and missing mdt indexes.

      Manually specifying mdts via -i works as expected.

      I believe this is due to the "auto_distributed" logic in lustre/utils/lfs.c::lfs_setdirstripe()

      Attachments

        Issue Links

          Activity

            People

              laisiyao Lai Siyao
              utopiabound Nathaniel Clark
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: