Restoring node, pinned nics

ns33

Member
Apr 4, 2024
40
3
13
I need to restore a node; copying what I need from rescue mode.

I have all my nics pinned, do I need to backup/restore the .link files under /usr/local/lib/systemd/network? The interface files lists the pinned names so I'm guessing I need to copy these link files to the new node.
 
If it is a new node it will have different mac addresses for the nics and these files won't help without updating the mac addresses they refer to. Might be easier to run the pve-network-interface-pinning generate command instead.
 
  • Like
Reactions: leesteken
If it is a new node it will have different mac addresses for the nics and these files won't help without updating the mac addresses they refer to. Might be easier to run the pve-network-interface-pinning generate command instead.
Should've stated, its the same node
 
Best practice is to wipe the node, remove it from the cluster, install a fresh Proxmox with a new name and IP address and add it to the cluster as a new node. This procedure is the same regardless of which hardware parts are reused.
 
Last edited:
  • Like
Reactions: UdoB