Hello everyone,
One of my proxmox containers hasn't started up for a few days (probably due to a power cut).
Here's the error displayed at startup:
I also tried to start it with this command :
And here is the output :
It seems to be a problem with the storage mounting, so I tried to do it manually :
And here is the error displayed :
I tried to launch fsck :
Here is the output :
But that didn't solve the problem.
Now I'm not sure what to try to solve this problem, could you please help me ?
Thank you in advance for your answers.
One of my proxmox containers hasn't started up for a few days (probably due to a power cut).
Here's the error displayed at startup:
Code:
run_buffer: 321 Script exited with status 255
lxc_init: 847 Failed to run lxc.hook.pre-start for container "100"
__lxc_start: 2008 Failed to initialize container "100"
TASK ERROR: startup for container '100' failed
I also tried to start it with this command :
Code:
lxc-start -n 100 -F -lDEBUG -o lxc-100.log
And here is the output :
Code:
lxc-start 100 20230925074946.307 INFO confile - ../src/lxc/confile.c:set_config_idmaps:2267 - Read uid map: type u nsid 0 hostid 100000 range 65536
lxc-start 100 20230925074946.307 INFO confile - ../src/lxc/confile.c:set_config_idmaps:2267 - Read uid map: type g nsid 0 hostid 100000 range 65536
lxc-start 100 20230925074946.308 INFO lsm - ../src/lxc/lsm/lsm.c:lsm_init_static:38 - Initialized LSM security driver AppArmor
lxc-start 100 20230925074946.308 INFO conf - ../src/lxc/conf.c:run_script_argv:337 - Executing script "/usr/share/lxc/hooks/lxc-pve-prestart-hook" for container "100", config section "lxc"
lxc-start 100 20230925074946.631 DEBUG conf - ../src/lxc/conf.c:run_buffer:310 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 100 lxc pre-start produced output: mount: /var/lib/lxc/.pve-staged-mounts/mp0: cannot mount; probably corrupted filesystem on /dev/loop0.
lxc-start 100 20230925074946.696 DEBUG conf - ../src/lxc/conf.c:run_buffer:310 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 100 lxc pre-start produced output: command 'mount /dev/loop0 /var/lib/lxc/.pve-staged-mounts/mp0' failed: exit code 32
lxc-start 100 20230925074946.703 ERROR conf - ../src/lxc/conf.c:run_buffer:321 - Script exited with status 255
lxc-start 100 20230925074946.703 ERROR start - ../src/lxc/start.c:lxc_init:847 - Failed to run lxc.hook.pre-start for container "100"
lxc-start 100 20230925074946.703 ERROR start - ../src/lxc/start.c:__lxc_start:2008 - Failed to initialize container "100"
lxc-start 100 20230925074946.703 INFO conf - ../src/lxc/conf.c:run_script_argv:337 - Executing script "/usr/share/lxc/hooks/lxc-pve-poststop-hook" for container "100", config section "lxc"
lxc-start 100 20230925074946.954 DEBUG conf - ../src/lxc/conf.c:run_buffer:310 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 100 lxc post-stop produced output: umount: /var/lib/lxc/.pve-staged-mounts/mp0: not mounted.
lxc-start 100 20230925074946.954 DEBUG conf - ../src/lxc/conf.c:run_buffer:310 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 100 lxc post-stop produced output: command 'umount -- /var/lib/lxc/.pve-staged-mounts/mp0' failed: exit code 32
lxc-start 100 20230925074946.980 INFO conf - ../src/lxc/conf.c:run_script_argv:337 - Executing script "/usr/share/lxcfs/lxc.reboot.hook" for container "100", config section "lxc"
lxc-start 100 20230925074947.481 ERROR lxc_start - ../src/lxc/tools/lxc_start.c:main:306 - The container failed to start
lxc-start 100 20230925074947.481 ERROR lxc_start - ../src/lxc/tools/lxc_start.c:main:311 - Additional information can be obtained by setting the --logfile and --logpriority options
It seems to be a problem with the storage mounting, so I tried to do it manually :
Code:
pct mount 100
And here is the error displayed :
Code:
mount: /var/lib/lxc/100/rootfs/data: cannot mount; probably corrupted filesystem on /dev/loop0.
mounting container failed
command 'mount /dev/loop0 /var/lib/lxc/100/rootfs//data/' failed: exit code 32
I tried to launch fsck :
Code:
pct fsck 100
Here is the output :
Code:
fsck from util-linux 2.36.1
/dev/mapper/pve-vm--100--disk--0: clean, 61507/3276800 files, 1232934/13107200 blocks
But that didn't solve the problem.
Now I'm not sure what to try to solve this problem, could you please help me ?
Thank you in advance for your answers.