[Solved] Pct start don't work (unable to detect OS distribution)

chencho

Well-Known Member
Nov 25, 2010
92
9
48
Hi all.

I have the nvem disk freeze.

After reboot, disks works again and I can make ssh and login via web.

But now all my vm's are stopped.

If I see the lo, I can see:

Code:
lxc pre-start with output: unable to detect OS distribution

I upgrade from 5 (with error) to 6, but the error still here.

Code:
proxmox-ve: 6.3-1 (running kernel: 5.4.78-2-pve)
pve-manager: 6.0-7 (running version: 6.0-7/28984024)
pve-kernel-5.4: 6.3-3
pve-kernel-helper: 6.3-3
pve-kernel-5.3: 6.1-6
pve-kernel-5.0: 6.0-11
pve-kernel-5.4.78-2-pve: 5.4.78-2
pve-kernel-4.15: 5.4-9
pve-kernel-5.3.18-3-pve: 5.3.18-3
pve-kernel-5.0.21-5-pve: 5.0.21-10
pve-kernel-5.0.21-2-pve: 5.0.21-7
pve-kernel-4.15.18-21-pve: 4.15.18-47
ceph: 12.2.13-pve1~bpo9
ceph-fuse: 12.2.13-pve1~bpo9
corosync: 3.0.4-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ksmtuned: 4.20150325+b1
libjs-extjs: 6.0.1-10
libknet1: 1.16-pve1
libpve-access-control: 6.0-2
libpve-apiclient-perl: 3.1-3
libpve-common-perl: 6.0-4
libpve-guest-common-perl: 3.0-1
libpve-http-server-perl: 3.0-2
libpve-storage-perl: 6.0-8
libqb0: 1.0.5-1
lvm2: 2.03.02-pve4
lxc-pve: 3.1.0-65
lxcfs: 4.0.6-pve1
novnc-pve: 1.1.0-1
openvswitch-switch: 2.12.0-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.4-3
pve-cluster: 6.0-7
pve-container: 3.0-7
pve-docs: 6.3-1
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.0-7
pve-firmware: 3.1-3
pve-ha-manager: 3.0-2
pve-i18n: 2.2-2
pve-qemu-kvm: 5.1.0-8
pve-xtermjs: 4.7.0-3
qemu-server: 6.0-7
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-2
zfsutils-linux: 0.8.5-pve1

Code:
root@server7:~# pct config 712
arch: amd64
cores: 4
hostname: mydomain
memory: 3072
net0: name=eth0,bridge=vmbr0,gw=IP,hwaddr=02:00:00:30:7a:6f,ip=IP/32,type=veth
onboot: 1
ostype: ubuntu
rootfs: rpool-vmdata:subvol-712-disk-0,size=50G
swap: 1024
unprivileged: 1

It's the same with all the vm's (all are lxc)
 
Seems rpool was mounted before lxc start

I need to delete dir and then mount it

Code:
rmdir /rpool/vmdata/subvol-712-disk-0/dev/
rmdir /rpool/vmdata/subvol-712-disk-0/
zfs mount rpool/vmdata/subvol-712-disk-0

Now I can start my lxc containers.
 

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!