PVE Cluster Node restore

GabrieleV

Renowned Member
May 20, 2013
56
6
73
I would like to reinstall a cluster node from scratch, to use ZFS raid instead of an old mdadm with lvm partitioning scheme.
I have a backup done with PBS.

Is it possible to:
  1. format the machine
  2. install PVE from ISO using ZFS with RAID1 instead of my older custom partitioning scheme
  3. restore only the /etc/pve directory
  4. reboot the machine
Is all the configuration for rejoining the cluster in /etc/pve ?

Thank you,
GV
 
I would be very careful when doing this. The /etc/pve is actually mounted via FUSE and is backed by an SQLite Database. You probably want to recover this properly, like the manual suggests [1] instead of just copying the files to this location.

Depending on how you set up your storages and networking, this might still run into complications. There may also be other factors I am currently forgetting. Please be careful and make backups!

[1]: https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_recovery