[SOLVED] LXC dont start: mount -o bind error 32

chencho

Well-Known Member
Nov 25, 2010
92
12
48
I have one LXC container stopped from a while.

I need to recover some information, and I want to start it

When I try it, it give me an error:

Code:
lxc-start 702 20210221042518.554 DEBUG    conf - conf.c:run_buffer:326 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 702 lxc pre-start with output: command 'mount -o bind /rpool/vmdata/subvol-702-disk-0 /var/lib/lxc/702/rootfs//' failed: exit code 32

/var/lib/lxc/702/ looks good, ( config rootfs/ )

I can make ls -al and see the info if I do previously "pct mount 702" at /rpool/vmdata/subvol-702-disk-0/

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 702
arch: amd64
cores: 4
hostname: domain
lock: mounted
memory: 3072
net0: name=eth0,bridge=vmbr0,gw=IP,hwaddr=MAC:fe,ip=IP/32,type=veth
onboot: 0
ostype: ubuntu
rootfs: rpool-vmdata:subvol-702-disk-0,size=50G
swap: 1024

EDIT: Seems I need to umount the lxc "pct unmount 702" and now it start again
 
Last edited:
EDIT: Seems I need to umount the lxc "pct unmount 702" and now it start again
Good to hear that you were able to solve it. You can mark the thread as solved by selecting the prefix from the dropdown next to the title. Then it will show up with the bright orange "solved" badge :)