Proxmox - Storage and VM not visible next the reboot and upgrade version of Proxmox

Skynetwork

New Member
Mar 21, 2023
7
0
1
Proxmox - Storage and VM not visible next the reboot and upgrade version of Proxmox

At next the reboot and the upgrade version of proxmox on version 7.3.6, ours vm and storage "san" aren't visible on web portal (see attach files)
Only local storage and 1 Vm are visible
1679407961749.png
1679408102085.png
We had more 10 VM but one ony is visible

Can you help me please ?

The proxmox is install on Linux OS (Linux proxmox-vm 5.15.102-1-pve)

Regards
 
Hello,

Thank you for the screenshots!

Can you tell us how you did the upgrade exactly?

Does the qm list command sort the VMs?
 
Hello @Moayad ,

I realized the upgrade as follows :
1) launch the command "apt update" on root account
2) launch the command "apt full-upgrade"
3) reboot the server Proxmox
During the installation, the "PVE-manager" had an installation error. I deleted the /etc/pve folder (after making a copy) and restarted the installation and the pve-manager worked.

In /mnt/pve/storage_6tb/, I have the files of all my VMs but Proxmox does not load them on the interface
The storage missing is "storage_6tb"

The command "qm list" give the vm visible :

root@proxmox-vm:/bin# qm list
VMID NAME STATUS MEM(MB) BOOTDISK(GB) PID
100 100 running 4096 32.00 141466

Thanks for help

Regards
 
Last edited:
Hello,

If you still have a backup of the /etc/pve folder, can you please check from the original /etc/pve content and the backed up one?

Bash:
find /etc/pve -ls
find /path/backed-up/to/folder -ls
 
Hello,

The contents of folders are :

root@proxmox-vm:~# find /etc/pve -ls
1 0 drwxr-xr-x 2 root www-data 0 Jan 1 1970 /etc/pve
42 0 -rw-r----- 1 root www-data 2 Jan 1 1970 /etc/pve/.debug
43 0 -r--r----- 1 root www-data 93 Jan 1 1970 /etc/pve/.vmlist
44 0 -r--r----- 1 root www-data 43 Jan 1 1970 /etc/pve/.members
45 0 lrwxr-xr-x 1 root www-data 0 Jan 1 1970 /etc/pve/lxc -> nodes/proxmox-vm/lxc
2 0 lrwxr-xr-x 1 root www-data 0 Jan 1 1970 /etc/pve/local -> nodes/proxmox-vm
46 0 -r--r----- 1 root www-data 364 Jan 1 1970 /etc/pve/.rrd
47 0 -r--r----- 1 root www-data 828 Jan 1 1970 /etc/pve/.version
48 0 -r--r----- 1 root www-data 8963 Jan 1 1970 /etc/pve/.clusterlog
49 0 lrwxr-xr-x 1 root www-data 0 Jan 1 1970 /etc/pve/openvz -> nodes/proxmox-vm/openvz
50 0 lrwxr-xr-x 1 root www-data 0 Jan 1 1970 /etc/pve/qemu-server -> nodes/proxmox-vm/qemu-server
19 1 -rw-r----- 1 root www-data 2074 Mar 20 11:20 /etc/pve/pve-root-ca.pem
3 0 drwxr-xr-x 2 root www-data 0 Mar 20 11:20 /etc/pve/virtual-guest
16 1 -rw-r----- 1 root www-data 1675 Mar 20 11:20 /etc/pve/pve-www.key
26 0 drwxr-xr-x 2 root www-data 0 Mar 20 11:20 /etc/pve/firewall
25 1 -rw-r----- 1 root www-data 119 Mar 20 11:20 /etc/pve/vzdump.cron
29 0 drwxr-xr-x 2 root www-data 0 Mar 20 11:20 /etc/pve/sdn
6 0 drwxr-xr-x 2 root www-data 0 Mar 20 11:20 /etc/pve/nodes
7 0 drwxr-xr-x 2 root www-data 0 Mar 20 11:20 /etc/pve/nodes/proxmox-vm
21 1 -rw-r----- 1 root www-data 1728 Mar 20 11:20 /etc/pve/nodes/proxmox-vm/pve-ssl.pem
10 0 drwxr-xr-x 2 root www-data 0 Mar 20 11:20 /etc/pve/nodes/proxmox-vm/openvz
8 0 drwxr-xr-x 2 root www-data 0 Mar 20 11:20 /etc/pve/nodes/proxmox-vm/lxc
9 0 drwxr-xr-x 2 root www-data 0 Mar 20 11:20 /etc/pve/nodes/proxmox-vm/qemu-server
836 1 -rw-r----- 1 root www-data 444 Mar 20 17:53 /etc/pve/nodes/proxmox-vm/qemu-server/100.conf
11 0 drwx------ 2 root www-data 0 Mar 20 11:20 /etc/pve/nodes/proxmox-vm/priv
17 1 -rw-r----- 1 root www-data 1679 Mar 20 11:20 /etc/pve/nodes/proxmox-vm/pve-ssl.key
4 0 drwx------ 2 root www-data 0 Mar 20 11:20 /etc/pve/priv
24 1 -rw------- 1 root www-data 1129 Mar 20 11:20 /etc/pve/priv/known_hosts
22 1 -rw------- 1 root www-data 567 Mar 20 11:20 /etc/pve/priv/authorized_keys
12 0 drwx------ 2 root www-data 0 Mar 20 11:20 /etc/pve/priv/lock
28 0 drwx------ 2 root www-data 0 Mar 20 11:20 /etc/pve/priv/acme
20 1 -rw------- 1 root www-data 3 Mar 20 11:20 /etc/pve/priv/pve-root-ca.srl
11586 1 -rw------- 1 root www-data 1679 Mar 24 11:20 /etc/pve/priv/authkey.key
18 1 -rw------- 1 root www-data 3247 Mar 20 11:20 /etc/pve/priv/pve-root-ca.key
27 0 drwxr-xr-x 2 root www-data 0 Mar 20 11:20 /etc/pve/ha
11585 1 -rw-r----- 1 root www-data 451 Mar 24 11:20 /etc/pve/authkey.pub
11584 1 -rw-r----- 1 root www-data 451 Mar 24 11:20 /etc/pve/authkey.pub.old

root@proxmox-vm:~# find /tmp/save/pve -ls
131098 4 drwxr-xr-x 3 root root 4096 Mar 20 10:57 /tmp/save/pve
131102 4 -rw-r--r-- 1 root root 1497 Mar 20 10:57 /tmp/save/pve/pve-root-ca.pem
131099 4 drwxr-xr-x 2 root root 4096 Mar 20 10:57 /tmp/save/pve/local
131100 4 -rwxr-xr-x 1 root root 1679 Mar 20 10:57 /tmp/save/pve/local/pve-ssl.key
131101 4 -rwxr-xr-x 1 root root 1375 Mar 20 10:57 /tmp/save/pve/local/pve-ssl.pem

I have the impression that it is necessary to rebuild the configuration of the pve

Regards
 
The VMs configs are not in the `/etc/pve/nodes/proxmox-vm/` path, that why the VM is not visible in the PVE UI.
 
Hello,

ok but, to be able to mount the vm and recreate the configuration (indeed I can't find it in the "/etc/pve/nodes/proxmox-vm/" folder), the vm storage must be visible and accessible from the proxmox interface and this is not the case, what is missing please ?

1679672820956.png

And how reload the configuration of all vm ?

Regards
 
Hello,

I managed to add the vm storage and now I see the vm disks.

1679674461265.png

How to mount these vm from the disks? Is it possible to rebuild the configuration files?

Thanks for help

Regards
 
if you have backups, you can extract the config from those. if not, you will need to recreate them from (your) memory.
 
Hello,

Ok, that's what I thought
Thanks for help
I recreated the missing vm's with the files from the disks I had saved
Thanks for help

Regards
 
Last edited: