Hello everyone,
I’m relatively new to Proxmox and recently upgraded my company’s Proxmox servers from version VE 6 to VE 7. The upgrade process went mostly fine, except after rebooting, I had some issues.
I had to add the HW address to my vmbr0 interface for the server to come back online properly. Now Proxmox is accessible, but my LXC containers won’t start.
The problem seems to be that after the upgrade, my containers’ rootfs configurations point to a storage called data which did not exist before the upgrade — previously everything was on local.
If I look into the local storage (/var/lib/vz), I can see my VM disks there, so the VMs themselves can start, but none of the LXC container volumes appear in the Proxmox UI or can be mounted.
I have removed the data storage entry from my storage.cfg because it was never there before.
Here is some information about my system:
And my current /etc/pve/storage.cfg looks like this:
My containers’ config files (like /etc/pve/lxc/102.conf) still reference local:102/vm-102-disk-0 as rootfs, but this volume file cannot be found, resulting in errors like:
I suspect the upgrade renamed or changed how storage names are handled, but I don’t have the data storage defined, and my LXC containers rootfs volumes aren’t showing up under the local storage directory as expected.
Does anyone have an idea on how to fix the missing container volumes and properly remount them so that my containers can start again?
Thank you in advance!
I’m relatively new to Proxmox and recently upgraded my company’s Proxmox servers from version VE 6 to VE 7. The upgrade process went mostly fine, except after rebooting, I had some issues.
I had to add the HW address to my vmbr0 interface for the server to come back online properly. Now Proxmox is accessible, but my LXC containers won’t start.
The problem seems to be that after the upgrade, my containers’ rootfs configurations point to a storage called data which did not exist before the upgrade — previously everything was on local.
If I look into the local storage (/var/lib/vz), I can see my VM disks there, so the VMs themselves can start, but none of the LXC container volumes appear in the Proxmox UI or can be mounted.
I have removed the data storage entry from my storage.cfg because it was never there before.
Here is some information about my system:
Code:
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1.8T 0 disk
├─sda1 8:1 0 19.5G 0 part /
├─sda2 8:2 0 3.9G 0 part [SWAP]
├─sda3 8:3 0 1K 0 part
└─sda5 8:5 0 1.8T 0 part
├─pve-local 253:0 0 1.7T 0 lvm /var/lib/vz
└─pve-backup 253:1 0 146.5G 0 lvm /var/lib/vz/dump
sdb 8:16 1 1.8T 0 disk
├─lms-lms_tmeta 253:2 0 116M 0 lvm
│ └─lms-lms-tpool 253:4 0 1.8T 0 lvm
│ └─lms-lms 253:5 0 1.8T 1 lvm
└─lms-lms_tdata 253:3 0 1.8T 0 lvm
└─lms-lms-tpool 253:4 0 1.8T 0 lvm
└─lms-lms 253:5 0 1.8T 1 lvm
And my current /etc/pve/storage.cfg looks like this:
Code:
dir: local
path /var/lib/vz
content rootdir,images,iso,snippets,vztmpl
maxfiles 0
lvmthin: lms
thinpool lms
vgname lms
content rootdir,images
dir: backup
path /var/lib/vz/dump
content images,backup,iso
nodes ns397318
prune-backups keep-all=1
shared 0
My containers’ config files (like /etc/pve/lxc/102.conf) still reference local:102/vm-102-disk-0 as rootfs, but this volume file cannot be found, resulting in errors like:
Code:
TASK ERROR: unable to parse volume filename 'vm-102-disk-0'
I suspect the upgrade renamed or changed how storage names are handled, but I don’t have the data storage defined, and my LXC containers rootfs volumes aren’t showing up under the local storage directory as expected.
Does anyone have an idea on how to fix the missing container volumes and properly remount them so that my containers can start again?
Thank you in advance!