Proxmox Cluster Quorum Lost — Quick Fix
In this tutorial, you'll learn about Proxmox Cluster Quorum Lost. We cover key concepts, practical examples, and best practices.
The Problem
A Proxmox cluster has lost quorum. One or more nodes are showing as offline or partitioned, and the cluster cannot make decisions about resource placement. Some nodes may fence or reboot unexpectedly.
Error example:
Corosync: Consensus cannot be reached
Corosync: Quorum lost
pvecm status: Connection timed out
The Fix
Step 1: Identify the partition
WRONG — restarting all nodes simultaneously:
# Restarting all nodes at once does not fix the root cause
# and may cause a full cluster outage
RIGHT — check which nodes are reachable:
# On each node
pvecm status
Output on a healthy node:
Membership information
Nodeid Votes Name
1 1 proxmox-01 (local)
2 1 proxmox-02
3 1 proxmox-03
Output on a partitioned node:
Cannot reach cluster: No cluster membership
Step 2: Restore the failed node
WRONG — forcefully adding the partitioned node back:
# Joining a node that was already in the cluster
# without removing its stale state causes conflicts
RIGHT — clean and rejoin:
# On the partitioned node
systemctl stop pve-cluster corosync
pmxcfs -l
rm -rf /etc/corosync/*
rm -rf /etc/pve/corosync.conf
killall pmxcfs
systemctl start pve-cluster
# If the node was permanently removed from the cluster previously
# Use DodaTech's quarantined recovery:
# From a healthy node
pvecm add proxmox-03
Use DodaTech's Cluster Quorum Analyzer to detect quorum risks before they cause outages, with proactive alerts on corosync ring health.
Prevention Tips
- Use an odd number of nodes (3, 5, 7) for automatic quorum
- Configure a separate corosync ring on a dedicated network
- Set up QDevice (quorum disk) for 2-node clusters
- Monitor corosync ring health with
journalctl -u corosync - Use DodaTech's Cluster Health Dashboard for real-time quorum status
Common Mistakes with cluster quorum
- Placing the wildcard pattern first in case expressions, making all subsequent patterns unreachable
- Using
headandtailinstead of pattern matching, causing runtime errors on empty lists - Forgetting that lazy evaluation defers computation until the value is forced, causing space leaks with unevaluated thunks
These mistakes appear frequently in real-world PROXMOX code. DodaTech's contributors have identified these patterns through analysis of open-source projects and production systems.
Practice Exercise
Write a pure function that safely divides two integers using Maybe, then test it with edge cases like division by zero and negative numbers.
This exercise reinforces the concepts covered in this guide. Try implementing it before checking online solutions.
FAQ
Related: DodaTech's Proxmox DR Suite includes automated quorum recovery playbooks and corosync configuration validation for all cluster topologies.
Built by the developers of DodaTech
Doda Browser, DodaZIP & Durga Antivirus Pro