3

I executed this command apt update && apt upgrade. After that, all container start except the ftp container. Launch this error: Job for pve-container@102.service failed because the control process exited with error code. See "systemctl status pve-container@102.service" and "journalctl -xe" for details. TASK ERROR: command 'systemctl start pve-container@102' failed: exit code 1.This is the error When I execute the command "systemctl status pve-container@102.service this is what showed: systemctl status And the command journalctl -xe showed: journalctl -xe

How can I fix it?

  • What happened when you tried to check the filesystem yourself? – Michael Hampton Nov 12 '18 at 16:44
  • the command pct fsck 102 returns fsck from util-linux 2.29.2 /dev/mapper/pve-vm--102--disk--1: clean, 23291/262144 files, 183029/1048576 blocks – Reinier Hernández Ávila Nov 12 '18 at 16:46
  • That means it didn't actually check the filesystem. You'll have to force it. – Michael Hampton Nov 12 '18 at 16:47
  • How should to that? – Reinier Hernández Ávila Nov 12 '18 at 16:48
  • According to the documentation: pct fsck 102 --force – Michael Hampton Nov 12 '18 at 16:50
1

Line 6 in your second debug-window says
EXT4-fs (dm-9): error loading journal
Something is wrong with the EXT4 file-system in your container.

Try to fsck it!

Note1: Make sure the container image is not mounted before running fsck.
Note2: In case the fs contain important data, backup the image file before you proceed.

Try to fix the journal:
e2fsck -E journal_only /path/to/your/container_image.raw

...or do a regular fsck on the whole ext4 fs:
e2fsck /path/to/your/container_image.raw

If faults are found, and fsck think it can fix them, answer yes to the suggested fixes. Hopefully the container can now start up.

  • I have two virtual disk, the first is for the OS and the second to store the data. I unmount the second disk and the container start perfectly, but when I mount the second disk, returned that error – Reinier Hernández Ávila Dec 7 '18 at 18:19

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.