node rename failed - 2 nodes displayed and old node has the VMs

Jun 6, 2023
24
4
8
Hi,

So I followed these steps to rename the host and rebooted but now I somehow have 2 nodes. My VMs are on the hostname with the old node.

How can I get them on the new hostname the safest way possible?

Old hostname: pve
New hostname: nas-proxmox

I also wanted to join the nodes after getting this fixed, would that be possible? is that recommended? forget this I just wanna get my VMs back :(

Code:
root@nas-proxmox:~# ls -lh /etc/pve/nodes
total 0
drwxr-xr-x 2 root www-data 0 Oct 15 20:32 nas-proxmox
drwxr-xr-x 2 root www-data 0 May 22 23:36 pve
root@nas-proxmox:~# ls -lh /etc/pve/nodes/pve
total 2.0K
-rw-r----- 1 root www-data   84 Oct 15 20:31 lrm_status
drwxr-xr-x 2 root www-data    0 May 22 23:36 lxc
drwxr-xr-x 2 root www-data    0 May 22 23:36 openvz
drwx------ 2 root www-data    0 May 22 23:36 priv
-rw-r----- 1 root www-data 1.7K May 22 23:36 pve-ssl.key
-rw-r----- 1 root www-data 1.8K May 22 23:36 pve-ssl.pem
drwxr-xr-x 2 root www-data    0 May 22 23:36 qemu-server
-rw-r----- 1 root www-data  556 Oct 14 17:50 ssh_known_hosts
root@nas-proxmox:~# ls -lh /etc/pve/nodes/pve/qemu-server/
total 2.0K
-rw-r----- 1 root www-data 612 Jul  6 12:11 100.conf
-rw-r----- 1 root www-data 500 Oct 10 00:53 101.conf
-rw-r----- 1 root www-data 484 Jun  7 14:37 190.conf
-rw-r----- 1 root www-data 422 Oct  9 17:36 900.conf
 
Last edited: