I am having trouble getting LXC containers to start on a newly created proxmox node. This is the 3rd node in my small homelab cluster, I have set it up to run proxmox backup server alongside PVE (baremetal, not virtualized). I started by installing PVE using the ISO installer, then I added the PBS repositories to my sources.list file as instructed here. I then configured a ZFS pool from the backup server GUI, and configured PVE to use that same storage for VM/CT disks. VM's are running perfect while using the zpool as the storage for the disks, it is only containers having issues.
PVE and PBS are both fully up to date, PVE version 8.0, PBS version 3.0
(still had issues with PVE 7.4 and PBS 2.4, I was hoping updates would fix it)
lxc-start -n 116 -F -l DEBUG -o /tmp/lxc-116.log
pveversion -v
/etc/pve/storage.cfg
PVE and PBS are both fully up to date, PVE version 8.0, PBS version 3.0
(still had issues with PVE 7.4 and PBS 2.4, I was hoping updates would fix it)
lxc-start -n 116 -F -l DEBUG -o /tmp/lxc-116.log
lxc-start 116 20230628005116.170 INFO lsm - ../src/lxc/lsm/lsm.c:lsm_init_static:38 - Initialized LSM security driver AppArmor
lxc-start 116 20230628005116.170 INFO conf - ../src/lxc/conf.c:run_script_argv:338 - Executing script "/usr/share/lxc/hooks/lxc-pve-prestart-hook" for container "116", config section "lxc"
lxc-start 116 20230628005116.601 DEBUG conf - ../src/lxc/conf.c:run_buffer:311 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 116 lxc pre-start produced output: cannot open directory //zfs: No such file or directory
lxc-start 116 20230628005116.610 ERROR conf - ../src/lxc/conf.c:run_buffer:322 - Script exited with status 2
lxc-start 116 20230628005116.610 ERROR start - ../src/lxc/start.c:lxc_init:844 - Failed to run lxc.hook.pre-start for container "116"
lxc-start 116 20230628005116.610 ERROR start - ../src/lxc/start.c:__lxc_start:2027 - Failed to initialize container "116"
lxc-start 116 20230628005116.610 INFO conf - ../src/lxc/conf.c:run_script_argv:338 - Executing script "/usr/share/lxcfs/lxc.reboot.hook" for container "116", config section "lxc"
lxc-start 116 20230628005117.112 INFO conf - ../src/lxc/conf.c:run_script_argv:338 - Executing script "/usr/share/lxc/hooks/lxc-pve-poststop-hook" for container "116", config section "lxc"
lxc-start 116 20230628005117.513 DEBUG conf - ../src/lxc/conf.c:run_buffer:311 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 116 lxc post-stop produced output: umount: /var/lib/lxc/116/rootfs: not mounted
lxc-start 116 20230628005117.513 DEBUG conf - ../src/lxc/conf.c:run_buffer:311 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 116 lxc post-stop produced output: command 'umount --recursive -- /var/lib/lxc/116/rootfs' failed: exit code 1
lxc-start 116 20230628005117.522 ERROR conf - ../src/lxc/conf.c:run_buffer:322 - Script exited with status 1
lxc-start 116 20230628005117.523 ERROR start - ../src/lxc/start.c:lxc_end:985 - Failed to run lxc.hook.post-stop for container "116"
lxc-start 116 20230628005117.523 ERROR lxc_start - ../src/lxc/tools/lxc_start.c:main:306 - The container failed to start
lxc-start 116 20230628005117.523 ERROR lxc_start - ../src/lxc/tools/lxc_start.c:main:311 - Additional information can be obtained by setting the --logfile and --logpriority options
pveversion -v
proxmox-ve: 8.0.1 (running kernel: 6.2.16-3-pve)
pve-manager: 8.0.3 (running version: 8.0.3/bbf3993334bfa916)
pve-kernel-6.2: 8.0.2
pve-kernel-5.15: 7.4-4
pve-kernel-6.2.16-3-pve: 6.2.16-3
pve-kernel-5.15.108-1-pve: 5.15.108-1
pve-kernel-5.15.102-1-pve: 5.15.102-1
ceph-fuse: 16.2.11+ds-2
corosync: 3.1.7-pve3
criu: 3.17.1-2
glusterfs-client: 10.3-5
ifupdown2: 3.2.0-1+pmx3
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-3
libknet1: 1.25-pve1
libproxmox-acme-perl: 1.4.6
libproxmox-backup-qemu0: 1.4.0
libproxmox-rs-perl: 0.3.0
libpve-access-control: 8.0.3
libpve-apiclient-perl: 3.3.1
libpve-common-perl: 8.0.5
libpve-guest-common-perl: 5.0.3
libpve-http-server-perl: 5.0.3
libpve-rs-perl: 0.8.3
libpve-storage-perl: 8.0.2
libspice-server1: 0.15.1-1
lvm2: 2.03.16-2
lxc-pve: 5.0.2-4
lxcfs: 5.0.3-pve3
novnc-pve: 1.4.0-2
proxmox-backup-client: 3.0.1-1
proxmox-backup-file-restore: 3.0.1-1
proxmox-kernel-helper: 8.0.2
proxmox-mail-forward: 0.2.0
proxmox-mini-journalreader: 1.4.0
proxmox-offline-mirror-helper: 0.6.1
proxmox-widget-toolkit: 4.0.6
pve-cluster: 8.0.1
pve-container: 5.0.4
pve-docs: 8.0.4
pve-edk2-firmware: 3.20230228-4
pve-firewall: 5.0.2
pve-firmware: 3.7-1
pve-ha-manager: 4.0.2
pve-i18n: 3.0.4
pve-qemu-kvm: 8.0.2-3
pve-xtermjs: 4.16.0-3
qemu-server: 8.0.6
smartmontools: 7.3-pve1
spiceterm: 3.3.0
swtpm: 0.8.0+pve1
vncterm: 1.8.0
zfsutils-linux: 2.1.12-pve1
/etc/pve/storage.cfg
dir: local
path /var/lib/vz
content vztmpl,iso
shared 0
zfspool: zfs
pool zfs
content rootdir,images
mountpoint /zfs
sparse 1
lvmthin: data
thinpool data
vgname pve
content rootdir,images
nodes pbs
pbs: pbs
datastore zfs
server (removed for privacy)
content backup
encryption-key (removed for privacy)
fingerprint (removed for privacy)
prune-backups keep-all=1
username root@pam
Last edited: