LXC VMs are starting very slow after a physical node reboot...

mstgeo

Member
May 15, 2022
40
1
8
HI!

After a physical node restart, we've started to have a very slow LXC VM start up. We're getting the below in syslog:

Jan 29 09:45:15 linux-srv pvedaemon[707708]: starting CT 201: UPID:linux-srv:000ACC7C:000D87FC:63D6402B:vzstart:201:root@pam:
Jan 29 09:45:15 linux-srv systemd[1]: Started PVE LXC Container: 201.
Jan 29 09:45:16 linux-srv kernel: [ 8868.459086] EXT4-fs warning (device loop103): ext4_multi_mount_protect:325: MMP interval 42 higher than expected, please wait.
Jan 29 09:45:16 linux-srv kernel: [ 8868.459086]
Jan 29 09:45:17 linux-srv pvedaemon[407674]: <root@pam> starting task UPID:linux-srv:000ACCDA:000D8887:63D6402D:vzstart:200:root@pam:
Jan 29 09:45:17 linux-srv pvedaemon[707802]: starting CT 200: UPID:linux-srv:000ACCDA:000D8887:63D6402D:vzstart:200:root@pam:
Jan 29 09:45:17 linux-srv systemd[1]: Started PVE LXC Container: 200.
Jan 29 09:45:17 linux-srv dhclient[2933]: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 13
Jan 29 09:45:17 linux-srv kernel: [ 8869.798178] EXT4-fs warning (device loop104): ext4_multi_mount_protect:325: MMP interval 42 higher than expected, please wait.
Jan 29 09:45:17 linux-srv kernel: [ 8869.798178]

This has never happened before. What could it be and how to avoid this in the future ?

Anyone has an idea how to get rid of this ? Thanks in advance.

regards,
G.
 
hi,

Jan 29 09:45:16 linux-srv kernel: [ 8868.459086] EXT4-fs warning (device loop103): ext4_multi_mount_protect:325: MMP interval 42 higher than expected, please wait.
It looks like the disk the container is trying to mount may be in use at boot time.

This has never happened before. What could it be and how to avoid this in the future ?

Anyone has an idea how to get rid of this ? Thanks in advance.
Can you try to set a startup delay?

I would also check the filesystem using pct fsck <CTID> command for the LXCs.