Files
proxmox/docs/node-restore.md
Márcio Fernandes 7ce3365ea2
All checks were successful
/ build-docker-image (push) Successful in 15s
new file: docs/node-restore.md
2026-01-25 12:45:14 +00:00

3.5 KiB
Raw Blame History

Proxmox Node Restore

Restores a Proxmox node exactly as it previously existed, allowing it to rejoin the cluster without using pvecm delnode.
It works by reconstructing the nodes identity vectors so Corosync and pmxcfs accept it as the same entity.

This method is not guaranteed and depends on perfect identity matching.
If any identity vector differs (hostname, node ID, ring IP, certificates), the node may:

  • fail to mount pmxcfs
  • fail to join Corosync
  • appear as a ghost node
  • destabilize the cluster

Use this approach only when you fully understand the identity requirements and the cluster is otherwise healthy.

1. Hostname Identity

Preserve the nodes cluster identity.

  • Restore /etc/hostname

2. Local Name Resolution

Ensure the node can resolve itself and its peers.

  • Restore /etc/hosts

3. System Users and Groups

Restore OSlevel identity and UID/GID mapping.

  • Restore /etc/passwd
  • Restore /etc/group

4. Network Topology

Restore bridges, VLANs, MTU, and IP assignments.

  • Restore /etc/network/interfaces
  • Restore /etc/network/interfaces.d/

5. VFIO Bindings (If Using Passthrough)

Restore PCI passthrough behavior.

  • Restore /etc/modprobe.d/

6. Kernel Flags and Module Loading (If Restoring GRUB)

Restore passthroughrelated kernel parameters.

  • Restore /etc/default/grub
  • Restore /etc/modules
  • Restore /etc/modules.d/

7. Disk Configuration

Restore storage layout and ZFS pools.

  • Restore /etc/fstab
  • Import ZFS pools (example: zfs import fastcore)

8. SSH Identity

Restore admin access and host identity.

  • Restore /root/.ssh/*
  • Restore /etc/ssh/*

9. Corosync Identity

single node custer

In some cases, a single Proxmox node can be resurrected simply by restoring the entire /etc/pve directory from backup. This works because /etc/pve (pmxcfs) contains:

  • Corosync identity (node ID, ring IPs, cluster membership)
  • Cluster certificates
  • Nodespecific configuration
  • Storage definitions
  • VM/CT configuration metadata

If the restored node has the same hostname, same IPs, same Corosync ring addresses, and the cluster still contains the old node entry, then copying the full /etc/pve state can allow the node to rejoin the cluster as if nothing happened.

Multi node cluster

Reconstruct the nodes cluster identity (Rejoin Without Delnode).

  • Restore /etc/pve/corosync.conf
  • Restore /etc/pve/corosync.pub
  • Restore /etc/corosync/authkey

These define:

  • cluster topology
  • node ID
  • ring IPs
  • shared authentication

10. NodeSpecific Artifacts

Restore semantic overlays and local scripts.

  • Restore /home/
  • Restore /root/
  • Restore /opt/

11. Finalize

If GRUB was restored:

  • Run update-grub

Then:

  • Reboot