Symptoms
You log into the web UI on sw-infrarunbook-01 and half your nodes show a red cross. The VMs are still running, but you can't start, stop or migrate anything. Every action returns the same error:
cluster not ready - no quorum? (500)
trying to acquire cluster lock - no quorum
On the shell, pvecm status tells the story. Votes are short and the cluster is no longer quorate:
root@sw-infrarunbook-01:~# pvecm status
Cluster information
-------------------
Name: prod-cluster
Config Version: 7
Transport: knet
Secure auth: on
Quorum information
------------------
Date: Tue Dec 1 03:14:22 2026
Quorum provider: corosync_votequorum
Nodes: 1
Node ID: 0x00000001
Ring ID: 1.8f4
Quorate: No
Votequorum information
----------------------
Expected votes: 3
Highest expected: 3
Total votes: 1
Quorum: 2 Activity blocked
Flags:
The syslog is usually worse. You'll see corosync flapping links and pmxcfs going read-only:
corosync[1423]: [KNET ] link: host: 2 link: 0 is down
corosync[1423]: [KNET ] host: host: 2 (passive) best link: 0 (pri: 1)
corosync[1423]: [KNET ] host: host: 2 has no active links
corosync[1423]: [QUORUM] Sync members[1]: 1
corosync[1423]: [QUORUM] This node is within the non-primary component and will NOT provide any services.
pmxcfs[1390]: [dcdb] notice: members: 1/1390
pmxcfs[1390]: [status] notice: node lost quorum
The worst version of this is intermittent. Quorum drops for ten seconds, comes back, and if you have HA enabled, nodes self-fence and reboot in the middle of the night. In my experience that's the pattern that gets people's attention, and it's almost never a Proxmox bug. It's the network or the topology underneath corosync.
Quick refresher before the causes. Quorum means a strict majority of votes: floor(N/2)+1. In a three-node cluster you need two. Lose that majority and pmxcfs (the /etc/pve filesystem) goes read-only on purpose, to prevent split-brain. That's the cluster protecting you, not breaking.
Cause 1: Corosync Shares a Link With Busy Traffic
This is the number one cause, by a wide margin. Corosync doesn't need bandwidth, it needs low and consistent latency. When ring0 lives on the same bridge or VLAN as backups, Ceph replication or live migrations, a saturated link delays corosync packets past the token timeout and the node gets declared dead.
I have seen this happen when a nightly vzdump to an NFS share lined up exactly with the quorum losses. Check the pattern against your logs:
root@sw-infrarunbook-01:~# journalctl -u corosync --since '02:00' --until '04:00' | grep -E 'link|retransmit|TOTEM'
Dec 01 02:31:07 corosync[1423]: [TOTEM ] Retransmit List: 1a2f 1a30 1a31
Dec 01 02:31:09 corosync[1423]: [KNET ] link: host: 2 link: 0 is down
Dec 01 02:31:12 corosync[1423]: [KNET ] rx: host: 2 link: 0 is up
Check the link statistics too, and measure latency while the load is running:
root@sw-infrarunbook-01:~# corosync-cfgtool -s
Links:
Link ID 0
addr = 10.20.30.11
status:
nodeid 1: localhost
nodeid 2: connected
nodeid 3: disconnected
root@sw-infrarunbook-01:~# ping -c 100 -i 0.2 10.20.30.12 | tail -2
100 packets transmitted, 100 received, 0% packet loss
rtt min/avg/max/mdev = 0.210/0.480/48.300/4.912 ms
A max of 48 ms with a mdev near 5 ms on a LAN is a red flag. Corosync wants well under 5 ms consistently.
Fix: give corosync its own physical NIC or at least its own dedicated VLAN with no other traffic, ideally on a separate switch path. Nothing else goes on it. If you can't add hardware right now, apply QoS or bandwidth limits on the backup and migration traffic. In the meantime, cap them in /etc/vzdump.conf with bwlimit and in datacenter.cfg with migration settings pointing at a different network.
Cause 2: A Single Corosync Link With No Redundancy
Even a dedicated network fails. A switch reboots, someone moves a patch cable, a bond flaps. If you only defined link0, every blip is a quorum event. Corosync with kronosnet supports up to eight links, and it will fail over between them in milliseconds.
Look at your current nodelist:
root@sw-infrarunbook-01:~# grep -A4 'node {' /etc/pve/corosync.conf
node {
name: sw-infrarunbook-01
nodeid: 1
quorum_votes: 1
ring0_addr: 10.20.30.11
}
Only ring0_addr. That's the problem. Add a second link on a different physical network, for example 10.20.40.0/24 on a second switch. Edit a copy, bump the config_version, then move it into place:
root@sw-infrarunbook-01:~# cp /etc/pve/corosync.conf /root/corosync.conf.new
root@sw-infrarunbook-01:~# nano /root/corosync.conf.new
# add ring1_addr: 10.20.40.11 to each node, increment config_version: 8
root@sw-infrarunbook-01:~# cp /etc/pve/corosync.conf /root/corosync.conf.bak
root@sw-infrarunbook-01:~# cp /root/corosync.conf.new /etc/pve/corosync.conf
After corosync reloads, corosync-cfgtool -s should show both links connected. A good habit: use the second link as the lower priority fallback with knet_link_priority in the interface block, so the dedicated one carries traffic by default.
Cause 3: Two-Node Clusters and Even Node Counts
Two nodes means two votes, which means quorum is two. Lose either node, even for a reboot, and the survivor is read-only. This isn't a fault. It's arithmetic. Four nodes have the same problem in a 2/2 split: you need three votes, and a clean partition leaves nobody with a majority.
Confirm it:
root@sw-infrarunbook-01:~# pvecm status | grep -E 'Expected|Total|Quorum:'
Expected votes: 2
Total votes: 1
Quorum: 2 Activity blocked
The proper fix is a third vote. Either add a third node, even a tiny one, or deploy a QDevice (external quorum device). I'll cover QDevice setup under Cause 7 because it has its own failure modes. For an emergency only, when you're sitting in a dead cluster and need /etc/pve writable right now, you can force it:
root@sw-infrarunbook-01:~# pvecm expected 1
root@sw-infrarunbook-01:~# pvecm status | grep Quorate
Quorate: Yes
Be careful with that. It tells this node to ignore the missing votes. If the other node is actually alive and running VMs on shared storage, you've just created the conditions for split-brain. Use it, fix the real problem, and let the cluster return to normal expected votes.
Cause 4: MTU Mismatches and Packet Loss on the Corosync Network
This one is sneaky. Pings work. Small packets are fine. Then corosync tries to send a larger knet packet over a path where one switch port or bond member is at MTU 1500 and the rest are at 9000, and the large frames silently vanish. Links go up and down every few minutes with no obvious cause.
Test the path with the do-not-fragment bit:
root@sw-infrarunbook-01:~# ping -M do -s 8972 -c 3 10.20.30.12
ping: local error: message too long, mtu=1500
root@sw-infrarunbook-01:~# ping -M do -s 1472 -c 3 10.20.30.12
3 packets transmitted, 3 received, 0% packet loss
Knet does path MTU discovery, and you can see what it settled on:
root@sw-infrarunbook-01:~# corosync-cmapctl | grep -i mtu
stats.knet.node2.link0.connected = 1
stats.knet.node2.link0.mtu = 1397
stats.knet.node2.link0.down_count = 14
A high down_count is the giveaway. Fix: make the MTU consistent end to end on every NIC, bond, bridge and switch port in that path, or just stay at 1500 on the corosync network. Jumbo frames buy corosync nothing. Also check for CRC errors and drops with ip -s link show and ethtool -S, since a failing cable or SFP produces the same flapping.
Cause 5: Node Starvation, CPU, I/O and Clock Problems
Sometimes the network is fine and the node is the problem. If a host is thrashing on swap, stuck in I/O wait on a dying disk, or pinned by noisy VMs, corosync doesn't get scheduled in time. Peers see missed tokens and drop it. The log hint is clear once you know it:
corosync[1423]: [MAIN ] Corosync main process was not scheduled (@1764558312345) for 4251.2 ms (threshold is 2400.0 ms). Consider token timeout increase.
That message means the process itself was frozen, not the network. Look at what the host was doing:
root@sw-infrarunbody-01:~# vmstat 1 5
root@sw-infrarunbook-01:~# iostat -x 1 3
root@sw-infrarunbook-01:~# dmesg -T | grep -iE 'blocked for more than|hung_task|oom'
I have seen a single failing SSD in a ZFS mirror stall a whole node for several seconds, over and over. Replace the hardware, reserve memory for the host (don't overcommit RAM to the point of swapping), and keep time sync healthy with chrony. Big clock jumps confuse log correlation and some HA behavior, so confirm it with chronyc tracking. Raising the totem token timeout can paper over a slow host, but it also slows failure detection. Treat that as a last resort, not a fix.
Cause 6: Wrong Addresses, Bad Hosts Entries and Config Version Drift
Corosync uses whatever is in ring0_addr. If that's a hostname and DNS or /etc/hosts disagrees between nodes, you get nodes that join, then fall out. Worse, someone edits /etc/corosync/corosync.conf by hand on one node and the config_version doesn't match the one in /etc/pve. The log is explicit:
corosync[1423]: [CMAP ] Received config version (9) is different than my config version (7)! Exiting
corosync[1423]: [SERV ] Unloading all Corosync service engines.
Compare the two copies on every node:
root@sw-infrarunbook-01:~# grep config_version /etc/pve/corosync.conf /etc/corosync/corosync.conf
/etc/pve/corosync.conf: config_version: 9
/etc/corosync/corosync.conf: config_version: 7
root@sw-infrarunbook-01:~# getent hosts sw-infrarunbook-02
10.20.30.12 sw-infrarunbook-02.solvethenetwork.com sw-infrarunbook-02
The fix depends on whether the node can reach the quorate side. If pmxcfs is writable, copy the good file over. If this node is isolated and quorum is gone, restart pmxcfs in local mode, copy the file, and restart normally:
root@sw-infrarunbook-01:~# systemctl stop pve-cluster corosync
root@sw-infrarunbook-01:~# pmxcfs -l
root@sw-infrarunbook-01:~# cp /etc/pve/corosync.conf /etc/corosync/corosync.conf
root@sw-infrarunbook-01:~# killall pmxcfs
root@sw-infrarunbook-01:~# systemctl start pve-cluster corosync
The rule I follow: always use IP addresses in ring0_addr and ring1_addr, never names. It removes DNS from the failure path entirely. And never edit the file in /etc/corosync directly while the cluster is quorate. Edit a copy, bump the version, and write it into /etc/pve so it propagates.
Cause 7: QDevice Problems
A QDevice is the right answer for two-node and even-sized clusters, but it brings its own failure modes. The qnetd daemon runs on an external host, and if that host is unreachable, firewalled, or running a mismatched version, your tie-breaker vote disappears at exactly the wrong moment.
Check its state from a cluster node:
root@sw-infrarunbook-01:~# pvecm status | sed -n '/Membership/,$p'
Membership information
----------------------
Nodeid Votes Qdevice Name
0x00000001 1 A,V,NMW 10.20.30.11 (local)
0x00000002 1 A,V,NMW 10.20.30.12
0x00000000 1 Qdevice
root@sw-infrarunbook-01:~# corosync-qdevice-tool -s
Qdevice information
-------------------
Node ID: 1
Connected to qdevice: No
State: Waiting for ring id
Flags like A (alive), V (vote) and NMW (not master wins) should be healthy. If you see NA (not alive), check the qnetd host. The usual causes are TCP port 5403 blocked by a firewall, the qnetd service stopped, or the QDevice sitting on a VM that lives inside the very cluster it arbitrates. Don't do that last one. If the cluster loses quorum, the VM holding the tie-breaker goes down with it.
Set it up properly on a small independent host, for example 192.168.50.5, not part of the cluster:
root@qdevice-host:~# apt install corosync-qnetd
root@sw-infrarunbook-01:~# apt install corosync-qdevice
root@sw-infrarunbook-01:~# pvecm qdevice setup 192.168.50.5
root@qdevice-host:~# systemctl status corosync-qnetd
root@qdevice-host:~# ss -tlnp | grep 5403
Setup needs root SSH access to the QDevice host once, for certificate exchange. If it fails halfway, remove it with pvecm qdevice remove and start over rather than hand-patching config.
Cause 8: Firewall Rules Blocking Corosync
The Proxmox firewall allows corosync automatically on the cluster network, but only if it knows which network that is. I've seen quorum drop right after someone enabled the datacenter firewall with a custom ruleset or added a restrictive upstream ACL. Knet uses UDP 5405 and up, one port per link.
root@sw-infrarunbook-01:~# ss -ulnp | grep corosync
UNCONN 0 0 10.20.30.11:5405 0.0.0.0:* users:(("corosync",pid=1423,fd=24))
root@sw-infrarunbook-01:~# tcpdump -ni eno2 udp port 5405 -c 10
# you should see packets in BOTH directions
If you only see outbound packets, something between the nodes is dropping the replies. Check pve-firewall status, review the rules in the datacenter and node firewall, and verify any switch ACLs or inter-VLAN firewalls permit UDP 5405-5412 between all cluster addresses. Allow traffic from the cluster subnet explicitly rather than relying on defaults.
Recovering a Cluster Right Now
If you're in the middle of an outage, work in this order. First confirm which nodes are alive and whether a majority can see each other using corosync-cfgtool -s and pvecm status on each. Fix the network path. Restart services in order only if needed:
root@sw-infrarunbook-01:~# systemctl restart corosync
root@sw-infrarunbook-01:~# sleep 5; systemctl restart pve-cluster
root@sw-infrarunbook-01:~# pvecm status | grep -E 'Quorate|Total votes'
Quorate: Yes
Total votes: 3
Only reach for pvecm expected 1 when you've confirmed the other nodes are really down, not just unreachable from where you're standing.
Prevention
Most quorum incidents I've worked were designed in on day one. Give corosync a dedicated network and a second link on separate hardware. Use an odd number of voters, with a QDevice on independent infrastructure if you must run two or four nodes. Keep the corosync network at plain 1500 MTU and make sure it's genuinely clean, with no errors, no oversubscription and no shared traffic.
Beyond design, put monitoring on the things that warn you early. Alert on knet down_count increasing, on retransmit messages in the journal, and on the number of votes in pvecm status. A simple check is enough:
#!/bin/sh
# /usr/local/bin/check-quorum.sh run by cron or your monitoring agent
pvecm status | grep -q 'Quorate:.*Yes' || echo 'CRITICAL: cluster not quorate on sw-infrarunbook-01'
corosync-cmapctl | awk -F' = ' '/down_count/ && $2 > 0 {print "WARN: " $1 " = " $2}'
Finally, change discipline matters. Edit corosync.conf only through a copy with a bumped config_version, do maintenance on one node at a time, and check pvecm status shows full votes before touching the next. Document your ring addresses, keep IPs rather than hostnames in them, and test a node failure on purpose during a maintenance window. A cluster that has survived a rehearsed failure is far less frightening at 3 AM than one that has never been tested.
