LXC Won't boot and can't move disk to another storage.

Beedster

New Member
Feb 9, 2022
1
0
1
71
My Proxmox LXC Container won't boot up and I can't move the boot drive to another storage. I've tried migrating the container to all of the nodes and it doesn't;t work on any of them. All of the nodes are fully updated and the container is up to date too.

Here is the error for moving the disk:
Code:
Formatting '/mnt/pve/fast/images/109/vm-109-disk-0.raw', fmt=raw size=137438953472 preallocation=off
Creating filesystem with 33554432 4k blocks and 8388608 inodes
Filesystem UUID: 5d2ef9c5-8498-4ebe-8c5c-c2db20c6d372
Superblock backups stored on blocks:
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
    4096000, 7962624, 11239424, 20480000, 23887872
mount: /var/lib/lxc/109/.copy-volume-2: cannot mount /dev/loop1 read-only.
Specified filename /var/lib/lxc/109/.copy-volume-1 does not exist.
TASK ERROR: command 'mount -o ro /dev/loop1 /var/lib/lxc/109/.copy-volume-2//' failed: exit code 32

And for starting up:
Code:
run_buffer: 321 Script exited with status 255
lxc_init: 846 Failed to run lxc.hook.pre-start for container "109"
__lxc_start: 2002 Failed to initialize container "109"
TASK ERROR: startup for container '109' failed

Here is the config:
Code:
arch: amd64
cores: 4
features: nesting=1
hostname: portainer
memory: 8192
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=8E:17:F9:23:CF:82,ip=dhcp,type=veth
net1: name=eth1,bridge=vmbr0,firewall=1,hwaddr=06:C4:B4:75:53:B1,ip=dhcp,type=veth
onboot: 1
ostype: ubuntu
rootfs: shared:109/vm-109-disk-0.raw,size=128G
swap: 512
unprivileged: 1
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!