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

DNE3: automatically select MDT for lfs mkdir

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • Lustre 2.8.0, Lustre 2.9.0
    • 9223372036854775807

      Currently, lfs mkdir creating a remote directory requires specifying the MDT index at directory create time, and if -i -1 is used it does not select the "best" MDT at creation time.

      Since the selection of the MDT for remote directory creates is decided by the client, it may be necessary to do a statfs of all MDTs (and cache the result for a short time) on the client to select the best MDT based on the free inodes, and some kind of round-robin if the free inodes are approximately the same (e.g. within 10% of each other).

            wc-triage WC Triage
            adilger Andreas Dilger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: