Pcornel
Virtualization · Proxmox VE

pmxcfs

Cheat sheet · https://pcornel.dk/topic.php?topic=3720

Back to the Topic

Answer

Treat /etc/pve as a cluster configuration interface, not ordinary local files: updates are mediated through pmxcfs and clustered write behavior depends on quorum.

Remember

  • Copying files into /etc/pve is not equivalent to editing ordinary local configuration.
  • A visible file does not prove all nodes currently agree or are connected.
  • Quorum loss can block writes by design.
  • Deleting or manually replacing pmxcfs data can destroy cluster configuration.

First checks

  • findmnt /etc/pve — pmxcfs fuse mount
  • ls -l /etc/pve/nodes/ — per-node config
  • sqlite3 /var/lib/pve-cluster/config.db 'select count(*) from tree' — backing DB (read only!)

Commands

qm set

Verify in this order

write to /etc/pve → pmxcfs → Corosync → all nodes

Where it usually breaks

First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.

Proxmox VE → pmxcfs reference map

BoundaryWhat to verifyEvidence limit
Configured stateExpected pmxcfs configuration is presentConfiguration alone does not prove runtime behavior
Runtime stateRelevant pmxcfs service/object is active and error-freeRuntime state does not prove dependencies
DependencyBacking network, storage, cluster or host dependency is healthyLocal success does not prove end-to-end outcome
AcceptanceOriginal VM/container/workload test succeedsRequired to close the incident

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3720

Confirmation

Confirm action

Continue?