Hi@all
after a reboot of my pve host the lxc container (ID 108) will not start. It was the first reboot of the host after I have created the container
The disk of the container resides on a encrypted zfs dataset that needs to be unlocked after boot
All other regular VMs (Linux and Windows) that have their disks in the same zfs parent dataset work fine
here are some logs as requested:
after a reboot of my pve host the lxc container (ID 108) will not start. It was the first reboot of the host after I have created the container
The disk of the container resides on a encrypted zfs dataset that needs to be unlocked after boot
All other regular VMs (Linux and Windows) that have their disks in the same zfs parent dataset work fine
here are some logs as requested:
Code:
pct config 108
arch: amd64
cores: 2
hostname: SYNC01
memory: 512
nameserver: 192.168.166.10
net0: name=eth0,bridge=vmbr0,hwaddr=EE:C2:99:1D:2C:AB,ip=192.168.168.10/24,tag=3,type=veth
net1: name=eth1,bridge=vmbr0,gw=192.168.167.1,hwaddr=5E:F0:18:B3:20:2C,ip=192.168.167.10/24,tag=2,type=veth
ostype: debian
rootfs: vm-crypt:subvol-108-disk-0,size=30G,mountoptions=noatime
swap: 512
unprivileged: 1
Code:
cat /etc/pve/storage.cfg
dir: local
path /var/lib/vz
content backup,iso,vztmpl
zfspool: local-zfs
pool rpool/data
content images,rootdir
sparse 1
zfspool: vm-crypt
pool datapool-01/vm-crypt
content rootdir,images
mountpoint /datapool-01/vm-crypt
sparse 0
cifs: FN01_pve
path /mnt/pve/FN01_pve
server 192.168.166.18
share PVE
content images
domain fn01
maxfiles 1
username pveuser
dir: FN01_pve_backup_monthly
path /mnt/pve/FN01_pve/pve-backup/monthly
content backup
maxfiles 2
shared 0
dir: FN01_pve_backup_weekly
path /mnt/pve/FN01_pve/pve-backup/weekly
content backup
maxfiles 2
shared 0
dir: FN01_pve_iso
path /mnt/pve/FN01_pve/pve-iso
content iso
shared 0
dir: FN01_pve_lxctemplates
path /mnt/pve/FN01_pve/pve-lxctemplates
content vztmpl
shared 0
Code:
zfs get all datapool-01/vm-crypt
NAME PROPERTY VALUE SOURCE
datapool-01/vm-crypt type filesystem -
datapool-01/vm-crypt creation Sun Jun 7 18:45 2020 -
datapool-01/vm-crypt used 496G -
datapool-01/vm-crypt available 364G -
datapool-01/vm-crypt referenced 192K -
datapool-01/vm-crypt compressratio 1.00x -
datapool-01/vm-crypt mounted no -
datapool-01/vm-crypt quota none default
datapool-01/vm-crypt reservation none default
datapool-01/vm-crypt recordsize 128K default
datapool-01/vm-crypt mountpoint /datapool-01/vm-crypt default
datapool-01/vm-crypt sharenfs off default
datapool-01/vm-crypt checksum on default
datapool-01/vm-crypt compression off default
datapool-01/vm-crypt atime on default
datapool-01/vm-crypt devices on default
datapool-01/vm-crypt exec on default
datapool-01/vm-crypt setuid on default
datapool-01/vm-crypt readonly off default
datapool-01/vm-crypt zoned off default
datapool-01/vm-crypt snapdir hidden default
datapool-01/vm-crypt aclinherit restricted default
datapool-01/vm-crypt createtxg 2929 -
datapool-01/vm-crypt canmount on default
datapool-01/vm-crypt xattr on default
datapool-01/vm-crypt copies 1 default
datapool-01/vm-crypt version 5 -
datapool-01/vm-crypt utf8only off -
datapool-01/vm-crypt normalization none -
datapool-01/vm-crypt casesensitivity sensitive -
datapool-01/vm-crypt vscan off default
datapool-01/vm-crypt nbmand off default
datapool-01/vm-crypt sharesmb off default
datapool-01/vm-crypt refquota none default
datapool-01/vm-crypt refreservation none default
datapool-01/vm-crypt guid 14726563484045534726 -
datapool-01/vm-crypt primarycache all default
datapool-01/vm-crypt secondarycache all default
datapool-01/vm-crypt usedbysnapshots 0B -
datapool-01/vm-crypt usedbydataset 192K -
datapool-01/vm-crypt usedbychildren 496G -
datapool-01/vm-crypt usedbyrefreservation 0B -
datapool-01/vm-crypt logbias latency default
datapool-01/vm-crypt objsetid 271 -
datapool-01/vm-crypt dedup off default
datapool-01/vm-crypt mlslabel none default
datapool-01/vm-crypt sync standard default
datapool-01/vm-crypt dnodesize legacy default
datapool-01/vm-crypt refcompressratio 1.00x -
datapool-01/vm-crypt written 192K -
datapool-01/vm-crypt logicalused 384G -
datapool-01/vm-crypt logicalreferenced 69K -
datapool-01/vm-crypt volmode default default
datapool-01/vm-crypt filesystem_limit none default
datapool-01/vm-crypt snapshot_limit none default
datapool-01/vm-crypt filesystem_count none default
datapool-01/vm-crypt snapshot_count none default
datapool-01/vm-crypt snapdev hidden default
datapool-01/vm-crypt acltype off default
datapool-01/vm-crypt context none default
datapool-01/vm-crypt fscontext none default
datapool-01/vm-crypt defcontext none default
datapool-01/vm-crypt rootcontext none default
datapool-01/vm-crypt relatime off default
datapool-01/vm-crypt redundant_metadata all default
datapool-01/vm-crypt overlay off default
datapool-01/vm-crypt encryption aes-192-gcm -
datapool-01/vm-crypt keylocation prompt local
datapool-01/vm-crypt keyformat passphrase -
datapool-01/vm-crypt pbkdf2iters 342K -
datapool-01/vm-crypt encryptionroot datapool-01/vm-crypt -
datapool-01/vm-crypt keystatus available -
datapool-01/vm-crypt special_small_blocks 0 default
Code:
lxc-start -n 108 -F -l DEBUG -o /tmp/lxc-ID.log
lxc-start: 108: conf.c: mount_autodev: 1074 Permission denied - Failed to create "/dev" directory
lxc-start: 108: conf.c: lxc_setup: 3311 Failed to mount "/dev"
lxc-start: 108: start.c: do_start: 1231 Failed to setup container "108"
lxc-start: 108: sync.c: __sync_wait: 41 An error occurred in another process (expected sequence number 5)
lxc-start: 108: start.c: __lxc_start: 1957 Failed to spawn container "108"
lxc-start: 108: tools/lxc_start.c: main: 308 The container failed to start
lxc-start: 108: tools/lxc_start.c: main: 314 Additional information can be obtained by setting the --logfile and --logpriority options