Problems with containers after power outage

halsen

New Member
Aug 15, 2024
1
0
1
Hello! I'm a newbie proxmox user, and some days ago my dell server stopped after a power outage. When the power got up again, i could not boot into a container.

log from container:
Code:
lxc-start 109 20240815095357.649 INFO     confile - ../src/lxc/confile.c:set_config_idmaps:2273 - Read uid map: type u nsid 0 hostid 100000 range 65536
lxc-start 109 20240815095357.649 INFO     confile - ../src/lxc/confile.c:set_config_idmaps:2273 - Read uid map: type g nsid 0 hostid 100000 range 65536
lxc-start 109 20240815095357.649 INFO     lsm - ../src/lxc/lsm/lsm.c:lsm_init_static:38 - Initialized LSM security driver AppArmor
lxc-start 109 20240815095357.649 INFO     conf - ../src/lxc/conf.c:run_script_argv:338 - Executing script "/usr/share/lxc/hooks/lxc-pve-prestart-hook" for container "109", config section "lxc"
lxc-start 109 20240815095358.232 DEBUG    conf - ../src/lxc/conf.c:run_buffer:311 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 109 lxc pre-start produced output: mount: /var/lib/lxc/.pve-staged-mounts/rootfs: mount(2) system call failed: Structure needs cleaning.
       dmesg(1) may have more information after failed mount system call.

lxc-start 109 20240815095358.233 DEBUG    conf - ../src/lxc/conf.c:run_buffer:311 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 109 lxc pre-start produced output: command 'mount /dev/dm-17 /var/lib/lxc/.pve-staged-mounts/rootfs' failed: exit code 32

lxc-start 109 20240815095358.244 ERROR    conf - ../src/lxc/conf.c:run_buffer:322 - Script exited with status 32
lxc-start 109 20240815095358.244 ERROR    start - ../src/lxc/start.c:lxc_init:844 - Failed to run lxc.hook.pre-start for container "109"
lxc-start 109 20240815095358.244 ERROR    start - ../src/lxc/start.c:__lxc_start:2027 - Failed to initialize container "109"
lxc-start 109 20240815095358.244 INFO     conf - ../src/lxc/conf.c:run_script_argv:338 - Executing script "/usr/share/lxcfs/lxc.reboot.hook" for container "109", config section "lxc"
lxc-start 109 20240815095358.746 INFO     conf - ../src/lxc/conf.c:run_script_argv:338 - Executing script "/usr/share/lxc/hooks/lxc-pve-poststop-hook" for container "109", config section "lxc"
lxc-start 109 20240815095359.194 DEBUG    conf - ../src/lxc/conf.c:run_buffer:311 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 109 lxc post-stop produced output: umount: /var/lib/lxc/109/rootfs: not mounted

lxc-start 109 20240815095359.194 DEBUG    conf - ../src/lxc/conf.c:run_buffer:311 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 109 lxc post-stop produced output: command 'umount --recursive -- /var/lib/lxc/109/rootfs' failed: exit code 1

lxc-start 109 20240815095359.205 ERROR    conf - ../src/lxc/conf.c:run_buffer:322 - Script exited with status 1
lxc-start 109 20240815095359.205 ERROR    start - ../src/lxc/start.c:lxc_end:985 - Failed to run lxc.hook.post-stop for container "109"
lxc-start 109 20240815095359.205 ERROR    lxc_start - ../src/lxc/tools/lxc_start.c:main:306 - The container failed to start
lxc-start 109 20240815095359.205 ERROR    lxc_start - ../src/lxc/tools/lxc_start.c:main:311 - Additional information can be obtained by setting the --logfile and --logpriority options
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!