Привет, вчера я обновил хост Proxmox через GUI – возможно, это как-то связано, не уверен. Я восстановил снимок, после чего не смог запустить LXC, поэтому перезагрузил хост. Загрузка заняла значительно больше времени, чем обычно. Сегодня та же проблема. Я несколько раз восстанавливал снимок без проблем, но после последнего восстановления он снова не запускается. Можете помочь, пожалуйста?
Спасибо!
Код: 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
Спасибо!
Код: 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
