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

Reply via email to