mfsipmap.cfg(5)
πΈ mfsipmap.cfg β MooseFS chunkserver IP mappings π
okay bestie, welcome to the <rainbow>mfsipmap.cfg(5)</rainbow> glow-up β¨ this is the MooseFS page about chunkserver IP mappings, and by the end of this you're gonna be so good at it, fr fr π«Ά
π NAME π
mfsipmap.cfg β MooseFS chunkserver IP mappings πΊοΈβ¨
π¦ DESCRIPTION π¦
So <pink>mfsipmap.cfg</pink> is the file that holds MooseFS chunk server IPs mapping lists. That's it, that's the whole vibe π
β¨ SYNTAX β¨
General file format, bestie: the content is one or more different LAN remappings. Each LAN remapping is built from first the list of client IPs that are gonna get the chunk server's IPs remapped, and then the chunk server's remappings themselves. So a proper file goes like this:
client IP list β mapping list β client IP list β mapping list β etc. π
Clients' IPs can be defined as classes in two formats: IP/MASK or IP/BITS:
n.n.n.n/m.m.m.m
n.n.n.n/b
And the way class definitions can use a shortened IP?? iconic. For example, a.b.c.0/24 is literally the same as a.b.c/24, and a.b.0.0/255.255.0.0 is the same as a.b/255.255.0.0 π
Clients' IPs can also be defined as ranges, in the format IP - IP:
f.f.f.f-t.t.t.t
And lastly (lastly bestie, I promise π), clients' IPs can just be single IPs, one IP per line:
n.n.n.n
x.x.x.x
Now β chunk server's IP mappings are always defined in exactly one format, IP:IP:
n.n.n.n:r.r.r.r
Here's the tea β: if a client's IP is sitting in the list directly preceding this mapping, then the chunkserver with the IP on the left side of the mapping is gonna be presented to that client with the IP on the right side of the mapping. slay β¨
Oh and β lines starting with the # character are ignored, they're comments π¬
π NOTES π
This file is your girl when you need to define LAN mappings in cases where there's no common scheme of numbering in LANs, i.e. where the same servers have different IP suffixes in each LAN. No cap π«
But wait β if your machines do have common suffixes? Then use the MULTILAN_BITS and MULTILAN_CLASSES options from the mfsmaster.cfg file instead π (different file, different bestie).
π₯ EXAMPLES π₯
Example numero uno π
File content:
192.168.1/24
192.168.2.1-192.168.2.24
192.168.3.20
10.10.10.3:10.20.30.7
10.10.10.4:10.20.33.19
Behaviour:
Any client having an IP starting with 192.168.1, or starting with 192.168.2 and ending in 1 to 24, or with IP 192.168.3.20 β if it wants to communicate with the chunkserver with IP 10.10.10.3, it will instead do so using IP 10.20.30.7 β¨ and with the chunkserver with IP 10.10.10.4 it will use IP 10.20.33.19 π
Example numero dos π¦
File content:
192.168.1/24
10.10.10.3:10.20.30.7
10.10.10.4:10.20.33.19
192.168.2.1-192.168.2.24
10.10.10.3:10.20.38.8
10.10.10.5:10.20.38.37
Behaviour:
Any client having an IP starting with 192.168.1 β if it wants to communicate with the chunkserver with IP 10.10.10.3, it will instead do so using IP 10.20.30.7, and with the chunkserver with IP 10.10.10.4 it will use IP 10.20.33.1. β
Any client having an IP starting with 192.168.2 and ending in 1 to 24 β if it wants to communicate with the chunkserver with IP 10.10.10.3, it will instead do so using IP 10.20.38.8, and with the chunkserver with IP 10.10.10.5 it will use IP 10.20.38.37. πΈ
Notice, bestie: the same chunkserver (with IP 10.10.10.3) will be presented to clients from different IP lists with different remapped IPs. main character energy tbh π
π Note: empty lines between sections are not necessary β they're in the above examples only for ease of reading. don't come for me, it's just aesthetics.
π COPYRIGHT π
Copyright (C) 2026 Jakub Kruszona-Zawadzki, Saglabs SA
This file is part of MooseFS.
MooseFS is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2 (only).
MooseFS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, see <https://www.gnu.org/licenses/>.
π SEE ALSO π
and that's the whole page bestie, we ate and left no crumbs π this was MooseFS 4.59.2-1, from May 2026 β ily, go remap some IPs πβ¨π
π¦ where this page comes from
- arch rolling: moosefs 4.59.2-2 Β· GPL-2.0-only
- nixos 26.05: moosefs 4.59.2
- nixpkgs unstable: moosefs 4.59.2
- ubuntu stonking: moosefs-master 4.59.2-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms