[LU-7827] DNE3: automatically select MDT for lfs mkdir Created: 01/Mar/16  Updated: 28/Jan/22  Resolved: 04/Aug/18

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.8.0, Lustre 2.9.0
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Andreas Dilger Assignee: WC Triage
Resolution: Duplicate Votes: 0
Labels: dne3

Issue Links:
Duplicate
duplicates LU-10277 DNE3: allow 'lfs mkdir' to create dir... Resolved
Related
is related to LU-15494 DNE3: "lfs setdirstripe -D" for speci... Open
is related to LU-8616 DNE3: enhance "lfs mkdir" to select s... Resolved
is related to LU-6831 The ticket for tracking all DNE2 bugs Reopened
is related to LU-11213 DNE3: remote mkdir() in ROOT/ by default Resolved
is related to LU-9435 DNE2 - object placement QoS policy Resolved
Rank (Obsolete): 9223372036854775807

 Description   

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).



 Comments   
Comment by Andreas Dilger [ 04/Aug/18 ]

This was already fixed via LU-10277.

Generated at Sat Feb 10 02:12:15 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.