Proxmox LXC error

MaC@ToC

New Member
Dec 16, 2023
6
0
1
Hi, I'm sorry,

Since yesterday I've had this error on a docker lxc that I don't understand:

Code:
root@proxmox:~# pct start 103 --debug
run_buffer: 571 Script exited with status 255
lxc_init: 845 Failed to run lxc.hook.pre-start for container "103"
__lxc_start: 2034 Failed to initialize container "103"
t-hook" for container "103", config section "lxc"
DEBUG    utils - ../src/lxc/utils.c:run_buffer:560 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 103 lxc pre-start produced output: mount: /var/lib/lxc/.pve-staged-mounts/rootfs: can't read superblock on /dev/loop0.
dmesg(1) may have more information after failed mount system call.

DEBUG    utils - ../src/lxc/utils.c:run_buffer:560 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 103 lxc pre-start produced output: command 'mount /dev/loop0 /var/lib/lxc/.pve-staged-mounts/rootfs' failed: exit code 32

ERROR    utils - ../src/lxc/utils.c:run_buffer:571 - Script exited with status 255
ERROR    start - ../src/lxc/start.c:lxc_init:845 - Failed to run lxc.hook.pre-start for container "103"
ERROR    start - ../src/lxc/start.c:__lxc_start:2034 - Failed to initialize container "103"
INFO     utils - ../src/lxc/utils.c:run_script_argv:587 - Executing script "/usr/share/lxcfs/lxc.reboot.hook" for container "103", config section "lxc"
startup for container '103' failed
root@proxmox:~#

I think I understand that he can't put something together but I don't know how to look.

Could you help me?


Here is my conf :

Capture d’écran 2024-12-15 124338.png
 
Looks like a ext4 superblock error. You can search for mount an ext4 with other than the default superblock manually, then run fsck onto, umount and try to start lxc again regulary. Remaining question is why the ext4 superblock could be corrupted in image which is probably a follow up error of the underlying storage used for the lxc image itself.