[SOLVED] Problem with CT's not starting after upgrade to 6.4.

McKajVah

Renowned Member
Feb 7, 2013
21
2
68
I'm getting a error message on all my containers after an upgrade to 6.4-5 from 6.3.x something.

"TASK ERROR: mkdir /var/lib/lxc: Structure needs cleaning at /usr/share/perl5/PVE/LXC.pm line 734."

None of my CT's will start because of this.

Any suggestions on what to do?
 
That sounds like a file system corruption. Was the server unexpectedly powered off perhaps? This might also potentially be a disk error.

Anyhow, running fsck on your root disk (and maybe your container images) might be enough to fix the issue. What filesystem are you running as root (lsblk and mount would help)?
 
Hi.

No, the server was shut down normaly after the update and started having issues when it rebooted afterwards.

FSCK did not help and everything looks to be mounted correctly.

Had a look in the logs and looks like there is Metadata corruption detected. I probably need to try and run XFS_repair.
 
Turned out it was a SATA cable failure. Strange thing is that I didn't touch or move the machine the last year...

Had a lot of ATA errors when I hooked a monitor to it and had a look. Had to run a xfs_repair -L (forced), but luckily everything seems OK now.

Stange, very strange for a cable to just suddenly go bad inside the machine.
 
  • Like
Reactions: Stefan_R

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!