Container can't start

guo9310

Active Member
Jun 5, 2017
4
1
43
49
The container 101 can't start after physical server reboot, and can't find the disk too.
But "lvs" show the volumn "vm-101-disk-1".
How can i fix this? Thanks!

root@stg-pve08:~# lxc-start -n 101 -F
mount: special device /dev/pve/vm-101-disk-1 does not exist
command 'mount /dev/pve/vm-101-disk-1 /var/lib/lxc/101/rootfs//' failed: exit code 32
lxc-start: conf.c: run_buffer: 405 Script exited with status 32.
lxc-start: start.c: lxc_init: 450 Failed to run lxc.hook.pre-start for container "101".
lxc-start: start.c: __lxc_start: 1321 Failed to initialize container "101".
lxc-start: tools/lxc_start.c: main: 366 The container failed to start.
lxc-start: tools/lxc_start.c: main: 370 Additional information can be obtained by setting the --logfile and --logpriority options.

root@stg-pve08:~# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve twi-aotzM- 1.18t 13.78 99.96
root pve -wi-ao---- 34.00g
swap pve -wi-ao---- 8.00g
vm-101-disk-1 pve Vwi-i-tz-- 1.00t data 100.00 100.00
 
Is the path aviable /dev/pve/vm-101-disk-1 ?
Did you tried to read the disk with e.g. fdisk?

Code:
fdisk -l /dev/pve/vm-101-disk-1

And what says

Code:
lvdisplay pve

I have to admit that i've never used virtual volumes.
 

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!