Hello,
yesterday I upgraded the proxmox host from GUI - maybe important, don't know.
I restored a snapshot and could not start the LXC afterwards so I restarted the host. It took much longer than normal to boot up.
Today, same issue. I restored the snapshot several times without any problems, but after the last restore it again does not start.
Can you please help me? Thanks!
yesterday I upgraded the proxmox host from GUI - maybe important, don't know.
I restored a snapshot and could not start the LXC afterwards so I restarted the host. It took much longer than normal to boot up.
Today, same issue. I restored the snapshot several times without any problems, but after the last restore it again does not start.
Can you please help me? Thanks!
Code:
root@pve:# lxc-start -n 123 -F -l DEBUG -o /tmp/lxc-123.log
lxc-start: 123: ../src/lxc/utils.c: run_buffer: 571 Script exited with status 1
lxc-start: 123: ../src/lxc/start.c: lxc_init: 845 Failed to run lxc.hook.pre-start for container "123"
lxc-start: 123: ../src/lxc/start.c: __lxc_start: 2034 Failed to initialize container "123"
lxc-start: 123: ../src/lxc/utils.c: run_buffer: 571 Script exited with status 1
lxc-start: 123: ../src/lxc/start.c: lxc_end: 986 Failed to run lxc.hook.post-stop for container "123"
lxc-start: 123: ../src/lxc/tools/lxc_start.c: lxc_start_main: 307 The container failed to start
lxc-start: 123: ../src/lxc/tools/lxc_start.c: lxc_start_main: 312 Additional information can be obtained by setting the --logfile and --logpriority options
root@pve:# cat /tmp/lxc-123.log
lxc-start 123 20250430211632.216 INFO lsm - ../src/lxc/lsm/lsm.c:lsm_init_static:38 - Initialized LSM security driver AppArmor
lxc-start 123 20250430211632.216 INFO utils - ../src/lxc/utils.c:run_script_argv:587 - Executing script "/usr/share/lxc/hooks/lxc-pve-prestart-hook" for container "123", config section "lxc"
lxc-start 123 20250430211632.799 DEBUG utils - ../src/lxc/utils.c:run_buffer:560 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 123 lxc pre-start produced output: zfs error: cannot mount 'rpool/data/subvol-123-disk-1': Permission denied
lxc-start 123 20250430211632.808 ERROR utils - ../src/lxc/utils.c:run_buffer:571 - Script exited with status 1
lxc-start 123 20250430211632.808 ERROR start - ../src/lxc/start.c:lxc_init:845 - Failed to run lxc.hook.pre-start for container "123"
lxc-start 123 20250430211632.808 ERROR start - ../src/lxc/start.c:__lxc_start:2034 - Failed to initialize container "123"
lxc-start 123 20250430211632.808 INFO utils - ../src/lxc/utils.c:run_script_argv:587 - Executing script "/usr/share/lxc/hooks/lxc-pve-poststop-hook" for container "123", config section "lxc"
lxc-start 123 20250430211633.295 DEBUG utils - ../src/lxc/utils.c:run_buffer:560 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 123 lxc post-stop produced output: umount: /var/lib/lxc/123/rootfs: not mounted
lxc-start 123 20250430211633.295 DEBUG utils - ../src/lxc/utils.c:run_buffer:560 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 123 lxc post-stop produced output: command 'umount --recursive -- /var/lib/lxc/123/rootfs' failed: exit code 1
lxc-start 123 20250430211633.305 ERROR utils - ../src/lxc/utils.c:run_buffer:571 - Script exited with status 1
lxc-start 123 20250430211633.305 ERROR start - ../src/lxc/start.c:lxc_end:986 - Failed to run lxc.hook.post-stop for container "123"
lxc-start 123 20250430211633.305 ERROR lxc_start - ../src/lxc/tools/lxc_start.c:lxc_start_main:307 - The container failed to start
lxc-start 123 20250430211633.305 ERROR lxc_start - ../src/lxc/tools/lxc_start.c:lxc_start_main:312 - Additional information can be obtained by setting the --logfile and --logpriority options