Guardian Node Operations Manual¶
Deployment, Granular Pinning, and Maintenance of MxOS Network Nodes¶
- Authors:
Rénich Bon Ćirić <renich@mx-os.mx>
MxOS Foundation Infrastructure Team
- Organization:
Fundación MxOS, A.C.
- Date:
October 2026
- Status:
Active Standard
Purpose and Operational Philosophy¶
The MxOS Foundation Community Mirror Network replaces centralized distribution models with a peer-to-peer P2P infrastructure built on the InterPlanetary File System IPFS. Under this paradigm, any participant can act as a guardian node, locally custodying and sharing the packages they choose to back.
The ecosystem operates through two public domains with distinct roles:
ipfs.mx-os.mx, Use Us as Your IPFS Gateway: Public and neutral gateway on HOBOPS.IO enabling any user or developer to resolve CIDs or IPNS records without running a local daemon.
mirrors.mx-os.mx, The MxOS Foundation Free Software Mirror: Official portal and curated package distribution catalog, release notes, pinning guides, and network observatory.
Data pinning guarantees that blocks remain resident in the guardian node’s local storage, ready for delivery across both the local area network and the global swarm to any requesting client.
System Requirements¶
Linux operating system: Fedora 43, 44, 45, Rawhide, or CentOS Stream 10.
Local administrative privileges via
sudoor Btrfs mount permissions withuser_subvol_rm_allowed.Internet connectivity and port 4001 TCP/UDP accessible for inbound libp2p swarm traffic.
Disk storage matching the selected modules, ranging from 3.5 GB for installation media up to 450 GB for the full catalog.
Step 1: Installing Kubo¶
Kubo is packaged and distributed for Fedora and CentOS Stream through the official Copr repository:
# Habilitar repositorio Copr e instalar el demonio Kubo
sudo dnf copr enable renich/kubo
sudo dnf install kubo
Step 2: Datastore Initialization and User Service¶
Per MxOS Foundation security guidelines, the Kubo daemon must run under an unprivileged rootless user account:
# Inicializar el almacén local en ~/.ipfs
ipfs init
# Habilitar e iniciar la unidad de servicio persistente de systemd
systemctl --user --now enable ipfs.service
# Comprobar el estado del demonio
systemctl --user status ipfs.service
Step 3: Firewall Configuration¶
To allow bidirectional block transfers over Bitswap, open the swarm port in firewalld:
sudo firewall-cmd --permanent --add-port=4001/tcp
sudo firewall-cmd --permanent --add-port=4001/udp
sudo firewall-cmd --reload
Step 4: Direct DoH Resolution Configuration for DNSLink¶
Local and corporate routers frequently cache DNSLink TXT records according to their internal TTLs. To ensure your node resolves new CIDs the exact moment they are published, configure Kubo’s internal resolver to query Cloudflare DoH directly for the mx-os.mx zone:
# Configurar resolvedor DoH directo para el dominio canónico
ipfs config --json DNS.Resolvers '{"mx-os.mx.": "https://cloudflare-dns.com/dns-query", ".": "auto"}'
# Reiniciar el demonio para aplicar el cambio
systemctl --user restart ipfs.service
Step 5: Inspecting Available Modules with ipfs ls¶
Before pinning, any user or operator can list the structure and modules published in the master catalog in real time using the native ipfs ls command:
# Explorar la raíz del catálogo comunitario
ipfs ls /ipns/mirrors.mx-os.mx
# Listar versiones de Fedora disponibles (43, 44, 45)
ipfs ls /ipns/mirrors.mx-os.mx/fedora/releases
# Listar medios de instalación ISO
ipfs ls /ipns/mirrors.mx-os.mx/fedora/iso
# Listar CentOS Stream 10
ipfs ls /ipns/mirrors.mx-os.mx/centos-stream/10-stream
Step 6: Module Selection and Granular Pinning¶
The catalog is organized modularly to fit the available disk quota of each installation:
Module |
Pinning Command |
Network Size |
Estimated Disk Space |
|---|---|---|---|
Fedora 43 ISO Images |
|
1.2G |
~3.5 GB |
Fedora 44 ISO Images |
|
0B |
~3.5 GB |
Fedora 45 ISO Images |
|
0B |
~3.5 GB |
All ISO Images 43, 44, 45 |
|
1.2G |
~10 GB |
CentOS 10 BaseOS |
|
7.0G |
~15 GB |
CentOS 10 AppStream |
|
29G |
~45 GB |
CentOS 10 CRB CodeReady Linux Builder |
|
26G |
~30 GB |
CentOS 10 HighAvailability |
|
166M |
~500 MB |
CentOS 10 NFV and RT Networking and Real-Time |
|
4.2G |
~5.0 GB |
CentOS 10 SIG Extras extras-common |
|
948K |
~50 MB |
Full CentOS 10 Stream |
|
67G |
~95 GB |
Fedora 43 Everything Packages |
|
118G |
~125 GB |
Fedora 44 Everything Packages |
|
0B |
~125 GB |
Fedora 45 Everything Development Packages |
|
0B |
~125 GB |
Complete Canonical Catalog |
|
186G |
~450 GB |
Step 7: Automation, Btrfs, and Storage Maintenance¶
Upstream repositories are updated continuously. To manage the lifecycle and optimize storage:
Updating pins: Periodically re-run the
ipfs pin addcommand on the canonical IPNS path. Kubo will download only modified or newly added blocks.Module management with Btrfs and subvolumes: On nodes with Btrfs-formatted storage, structuring each module as an independent subvolume is recommended:
Atomic and instantaneous deletion: To delete an entire module when freeing disk space, run
btrfs subvolume delete <ruta-modulo>or./bin/mxos-btrfs.bash delete <modulo>. The operation is instantaneous and avoids disk thrashing from unlinking tens of thousands of individual files.Zero-cost CoW snapshots: Create read-only backup snapshots prior to synchronization using
btrfs subvolume snapshot -r.Rootless operation: Add the
user_subvol_rm_allowedoption in/etc/fstabfor the IPFS mount point, allowing subvolume management without requiringsudo.
Garbage collection: To purge unlinked blocks orphaned after an update:
ipfs repo gc
Explicitly pinned blocks are fully protected from garbage collection.
Four-times-daily synchronization timer: On master synchronization nodes, updates are scheduled four times a day via systemd timers:
# ~/.config/systemd/user/mxos-mirror.timer [Unit] Description=Temporizador de sincronización periódica de espejos MxOS (4 veces al día) [Timer] OnCalendar=*-*-* 00,06,12,18:00:00 RandomizedDelaySec=900 Persistent=true [Install] WantedBy=timers.target
Anonymous Custody: Full Participation Without Registration¶
In the MxOS Foundation Community Mirror Network, anonymous custody is fully valid, welcome, and treated as a first-class citizen.
No registration of any kind is required to participate as a guardian node. Once you start your Kubo daemon and pin one or more modules, your node shares blocks directly across the Bitswap swarm and the libp2p DHT, identified solely by its unforgeable cryptographic hash PeerID. Blocks served by anonymous custodians strengthen the community infrastructure with the exact same sovereignty, priority, and speed as those of any registered node.
Step 8: Voluntary Registration on the Vigía Dashboard¶
Operators, collectives, or institutions wishing to formally list their node on the public observatory at https://mirrors.mx-os.mx/vigia/ can request inclusion in guardianes.json:
Obtain your peer identifier PeerID:
ipfs id -f="<id>\n"
Prepare your entry in guardianes.json:
"12D3KooWBVZfAQyPExhScDpiG4Hahh3e6QmwRZRVopib1ThgUo2g": { "alias": "renich", "nombre": "Rénich Bon Ćirić", "organizacion": "EVALinux", "ubicacion": "Ixtlahuacán de los Membrillos, Jalisco, México", "sitio": "https://evalinux.com", "contacto": "renich@evalinux.com", "rol": "guardian", "insignia": "🛡️ Guardián Pionero", "verificacion": "gitlab" }
Formatting criteria:
Full state name without abbreviations, for example
JaliscoorQuerétaro.Direct phrasing with no spaces around forward slashes.
Valid, verifiable HTTPS URL in the
sitiofield.The
organizacionfield is displayed under theAfiliacióncolumn on the dashboard.
Publication: Open a Merge Request in the canonical repository at https://git.mx-os.mx/MxOS/mirrors. Once reviewed and approved, your node will display its badges on the network map.