Jakub, Keep in mind that although MDT0 would have a lower chance of being selected, it will probably be chosen for at least a few directories. And once those directories get created on MDT0, files in those directories can also be created on MDT0. Depending on user workloads, it could be possible for someone to use up all the inodes on MDT0 since it would be much smaller than the others. If you are formatting it as ldiskfs, then you have some control over how many inodes get created so you might be able to change some of the default values to help mitigate this issue. (But as someone who has had a user eat up all the inodes in my Lustre filesystem, I tend to be extra cautious about this sort of thing.)
Rick On 11/27/26, 9:20 AM, "lustre-discuss on behalf of Jakub Jozefowicz via lustre-discuss" <[email protected]> wrote: Hi, I came up with this pattern for setting up MDTs which I haven't seen discussed. I wanted to ask what you think because I feel like there might be some disadvantages that I'm not seeing. Let's assume one has N+1 MDTs numbered 0-N. Instead of setting them all up in the same way we treat MDT0 as a special case and make it very small (a few GB). The idea is for it to handle the root and nothing but the root of the fs plus quotas, FLDB, and whatever else makes it special. I see this as an absolute win: - You can overengineer uptime assurances on MDT0 so most outage scenarios take out isolated slices of the filesystem. - If you want to migrate MDTs then the special case of MDT0 is quick and easy to verify/checksum. Same for stuff like e2fsck downtime and probably a few others. At first I thought this would be awkward with DNE3. But if I understand the allocator correctly, this would give MDT0 a weight orders of magnitude lower than the other MDTs. This does lock us into weighted mode but in practice functions like a less deterministic round-robin across MDT1..N anyway. You can push MDT0's weight arbitrarily low by increasing bytes-per-inode and filling MDT0 with placeholder DoM files in root. Has anyone tried this already? Regards, Jakub -- lustre-discuss mailing list [email protected] http://lists.lustre.org/mailman/listinfo/lustre-discuss_lists.lustre.org
