When Corosync stops working on a Proxmox VE node, the fix is usually not “reinstall Corosync” but restarting the service in safe order, verifying the cluster network, and rebuilding a corrupted or mismatched configuration so the node rejoins quorum. The key condition: do this only on a node whose /etc/pve/corosync.conf is either valid or can be replaced from a healthy peer, and confirm that no other node holds an incompatible cluster view before you touch anything. A working restore ends when corosync-cfgtool -s shows all links up, pvecm status reports quorum, and /etc/pve is writable again.
The steps below are ordered so each stage is reversible or confirms the previous one. Where the outcome is dangerous or ambiguous, there is a named stop condition.
What “restoring Corosync” actually covers
Corosync is the messaging layer that keeps Proxmox cluster nodes agreeing on membership and quorum. When people say it is broken, they usually mean one of four distinct failures, and each has a different repair:
The corosync service is stopped or crashing (process not running, repeated restarts). The cluster network link is dead or firewalled (service runs, but nodes cannot see each other). /etc/pve/corosync.conf is corrupt or inconsistent between nodes (config parse errors, mismatched version/totem settings). Quorum is lost due to too few reachable votes (nodes up, but pvecm status shows “No quorum”).
Separating these first prevents the common mistake of rebuilding configuration when the actual problem is a cable, VLAN, or firewall rule. Proxmox stores cluster configuration on the shared /etc/pve filesystem (pmxcfs), which is a FUSE-backed SQLite database synchronized across nodes. That detail matters: if /etc/pve is read-only or unmounted, Corosync editing will fail or be silently reverted.
Prerequisites before you change anything
Gather these before starting. Skipping them is how a single-node failure becomes a cluster-wide outage.
1: Root shell on the affected node. Most commands run as root. 2: Console or out-of-band access. Do not rely on SSH if the management network is the same network Corosync uses; a correction that drops the link could lock you out. 3: A known-good peer. At least one node you can log into whose /etc/pve/corosync.conf you trust, and the ability to copy files between nodes (scp, or pvecm tooling). 4: A backup of the current configuration. Copy /etc/pve/corosync.conf and, if present, /etc/corosync/corosync.conf to a local path such as /root/corosync-backup-YYYYMMDD/. On a single node with no /etc/pve, note that /etc/corosync/corosync.conf is the effective config. 5: Network details. The cluster network interface name and address for each node — check cat /etc/hosts and the ring0_addr/ring1_addr and nodelist entries in the config. If your cluster uses a dedicated link, know which NIC and VLAN it runs over. 6: Time sync. Corosync is sensitive to clock skew; confirm timedatectl or chrony/systemd-timesyncd is active on all nodes.
Stop condition: if the cluster has only one remaining node and you cannot access any peer, do not proceed with “replace the config” steps — you risk losing cluster metadata. Back up /etc/pve first and treat this as a recovery of last resort.
Step 1: Confirm the symptom with read-only checks
Run these first; they change nothing.
Interpretation:
systemctl status showing “active (running)” with a recent timestamp means the process is up; the problem is membership or configuration, not a dead daemon. pvecm status prints node count, expected votes, total votes, and Quorate: Yes/No. If expected votes exceed total votes, quorum is lost. corosync-cfgtool -s lists each ring and whether its link status is connected. A faulty link points to network or config, not the service. The journal is the most informative single source. Warnings such as “Totem is unable to form a cluster because of an operating system or network fault” point to transport. “Corosync configuration map access error” or “parse error” points to a corrupt config.
Success check: you can name which of the four failure classes matches the logs. If you cannot, do not continue past Step 2.
Step 2: Restart the service in a controlled way
If the daemon is stopped or stuck, restart it — but restart only one node at a time.
1: On the affected node: systemctl restart corosync (or systemctl start corosync if stopped). 2: Wait 10–20 seconds for membership to settle. 3: Re-run corosync-cfgtool -s and pvecm status.
Expect the node to either rejoin (total votes rises) or log a specific error within those seconds. If you see repeated crash/restart cycles in systemctl status, the issue is configuration or a missing dependency (for example, a bad /etc/corosync/corosync.conf or an address that no longer exists on any NIC). Restart cycles will not fix themselves; go to Step 3.
A note on order: on a two-node cluster, restarting the node that is down is safe. Restarting the last healthy node can briefly lose quorum, so time it when no cluster operations are running. For a node that is already the only one up, stop and reconsider — see the two-node quorum caveat later.
Step 3: Verify the cluster network and addressing
This is where most “Corosync is broken” cases actually live.
1: Check that the configured ring address exists. Compare nodelist addresses in /etc/pve/corosync.conf against ip -brief addr. If a NIC was renamed or a VLAN changed, the address may no longer be present. 2: Ping across the cluster link. From node A, ping each node’s ring0_addr using the exact address Corosync uses. A failed ping isolates the fault to routing, a switch port, a firewall, or a NIC. 3: Test the UDP ports. Corosync’s default transport uses UDP 5405. If a host firewall is active, confirm it is not blocking the cluster subnet. On Proxmox, the recommended posture is to keep the cluster network on a trusted segment rather than exposing it broadly. 4: Check MTU consistency. If one node’s cluster NIC has a different MTU than the others, membership can flap. Confirm with ip link show on each node. 5: Confirm /etc/hosts resolution. Every node must resolve every other node’s cluster address consistently; mismatches cause address lookup failures even when the network itself is fine.
Success check: bidirectional ping and consistent MTU/naming across all nodes. If addresses are wrong, correcting /etc/hosts and the interface is safer than editing cluster config first.
Step 4: Repair /etc/pve/corosync.conf safely
Only do this once network checks pass. Editing cluster config on an unhealthy cluster is risky because pmxcfs syncs changes across nodes.
If the config is valid on some nodes and corrupt on the affected one: replace the corrupt file with a copy from a known-good peer.
1: On the healthy peer, copy the file out: it lives at /etc/pve/corosync.conf. 2: On the affected node, back up the current file, then copy the healthy version into /etc/pve/corosync.conf. 3: Increase the config_version in the copied totem block (for example 1 → 2) so the cluster accepts the edit as a change. 4: Restart Corosync on the affected node and re-check pvecm status.
If no node has a good copy, or you are on a single node, the configuration must be rebuilt. The exact content depends on your node list and network, and it must include a consistent totem block and a nodelist naming every node. One recent Proxmox version default is transport knet with link_mode: passive; older clusters may use UDP with crypto settings. Do not copy a totem block from a different Proxmox major version blindly. The pvecm tooling can generate a valid config: on a standalone node, pvecm create writes a defaults-based file, and for joining nodes the pvecm add flow generates config from the existing cluster. When repairing, keep the existing cluster name and node names identical to what the other nodes use.
A parse or format error in the log (for example “parse error” or “Corosync configuration map access error”) confirms config damage; fix the malformed block rather than rewriting everything.
Stop condition: if /etc/pve is read-only, corrupted, or unmounted, Corosync changes will not stick. Treat that as a pmxcfs problem if pmxcfs restarts and the edit is reverted; restoring from a backup that includes /var/lib/pve-cluster/ and /etc/pve/ is a different, larger repair than this procedure.
Step 5: Restore quorum when the node count is the problem
If the service and links are healthy but pvecm status shows no quorum, the cluster has fewer votes than expected. The fix is to restore enough working nodes — not to bypass quorum.
1: Bring up the down node(s) and confirm Corosync reaches them. 2: If a node is permanently gone, after it is fully removed from the configuration with pvecm delnode, vote counts drop and quorum is recalculated. Do not run pvecm delnode on a running node you intend to keep; it removes it from the cluster. 3: Confirm Expected votes and Total votes now satisfy the usual majority rule. For example, with three nodes and one down, expected votes remain 3 and total votes is 2, which is still a majority; losing two of three loses quorum.
A common edge case: a two-node cluster can never achieve quorum if one node dies, because the surviving node has 1 of 2 votes and needs 2. A tiny quorum device (QDevice) is the standard remedy, and pvecm qdevice subcommands let you configure it. Add it during normal operation, not in the middle of an outage.
Success check: pvecm status shows Quorate: Yes, and each node’s membership is listed with a stable state.
Step 6: Verify full recovery
Go through the following and confirm each:
corosync-cfgtool -s shows every ring connected. pvecm status reports Quorate: Yes and all expected nodes. /etc/pve is writable on the repaired node (touch /etc/pve/.recoverytest then remove it). pvecm nodes lists the node with a healthy state. Cluster-wide configuration survives a second read (no immediate reversion), which proves pmxcfs is syncing.
If you edited the config, run systemctl restart corosync once more and re-verify. If the node rejoins but later drops again, treat it as a persistent network or clock fault rather than a Corosync bug.
Common failure modes and what the error actually means
| Symptom | Likely cause | First reversible check |
|---|---|---|
| Service restarts in a loop | Corrupt or invalid config | journalctl for parse errors; restore backup |
| corosync-cfgtool -s shows a faulty ring | Dead NIC, VLAN, or firewall | Ping the ring address; check UDP 5405 policy |
| /etc/pve read-only, edits revert | pmxcfs or cluster quorum issue | pvecm status; check pmxcfs service |
| No quorum with nodes up | Too few votes reachable | Verify peer reachability, not config edits |
| Node invisible to cluster but pings | Address mismatch in nodelist | Compare config addresses to ip addr |
The message “Corosync configuration map access error” almost always means the config is unreadable in the expected place, not that Corosync needs reinstallation. Reading the first error line in the journal, not the last, usually identifies the cause.
Limits, version differences, and when to escalate
Two things are easy to overstate. First, reinstalling the corosync package or the Proxmox cluster stack rarely repairs a misconfiguration; it can leave you with the same bad config and a fresh set of default paths. Only do it if the binary itself is missing or corrupt, and back up first. Second, the packet-format and transport details differ across Proxmox VE releases, so a totem block from one version may not validate on another. Match the cluster’s existing version rather than copying from documentation for a different release.
Stop condition for escalation: if, after network verification and a known-good config, Corosync still cannot form membership and the journal points to a transport-layer fault you cannot isolate (for example, consistent ring corruption only on one NIC), or if /etc/pve and the cluster database appear damaged, stop editing. Back up the state and treat this as a cluster database or hardware recovery, since further changes can make reconstruction harder.
If you reach the limit of safe remote work, local hands-on help with the actual hardware and network is more reliable than speculative config changes.
FAQ
Can I restore Corosync without rebooting the node?
Yes, in most cases. Restarting the service and fixing the config takes effect without a reboot. Reboot only if a NIC driver or kernel-level network issue is suspected, and then reboot one node at a time.
What if only one node is left in the cluster?
A single surviving node of a multi-node cluster will not have quorum. The fix is bringing up a peer or adding a quorum device, not forcing quorum on one node. Forcing membership risks splitting the cluster.
Does an edited corosync.conf need to be identical on every node?
The nodelist, totem, and cluster identity must be consistent; pmxcfs is designed to push one shared copy. Make edits through /etc/pve/corosync.conf so the cluster synchronizes them, rather than editing /etc/corosync/corosync.conf on individual nodes.
Why does pvecm status say the config version is too high or low?
That indicates a stale or mismatched config between nodes. Replace the mismatched file with the authoritative peer copy and bump the config_version so the change is accepted.