[SOLVED] Upgrade from 7 to 8, lxcfs.service fails to start

RustySnail

New Member
Sep 10, 2022
13
0
1
I just upgrade my PVE from 7.4 to 8.2 and my LXC won't start. The issue seems to be the lxcfs.service failing to start

Code:
systemctl status lxcfs.service

Code:
× lxcfs.service - FUSE filesystem for LXC
     Loaded: loaded (/lib/systemd/system/lxcfs.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Mon 2024-05-06 19:46:36 EDT; 10min ago
   Duration: 2ms
       Docs: man:lxcfs(1)
   Main PID: 4053 (code=exited, status=1/FAILURE)
        CPU: 4ms

May 06 19:46:36 pve systemd[1]: lxcfs.service: Scheduled restart job, restart counter is at 5.
May 06 19:46:36 pve systemd[1]: Stopped lxcfs.service - FUSE filesystem for LXC.
May 06 19:46:36 pve systemd[1]: lxcfs.service: Start request repeated too quickly.
May 06 19:46:36 pve systemd[1]: lxcfs.service: Failed with result 'exit-code'.
May 06 19:46:36 pve systemd[1]: Failed to start lxcfs.service - FUSE filesystem for LXC.

Code:
journalctl -u lxcfs.service

Code:
Feb 17 02:58:31 pve systemd[1]: Started FUSE filesystem for LXC.
Feb 17 02:58:31 pve lxcfs[4712]: Running constructor lxcfs_init to reload liblxcfs
Feb 17 02:58:31 pve lxcfs[4712]: mount namespace: 5
Feb 17 02:58:31 pve lxcfs[4712]: hierarchies:
Feb 17 02:58:31 pve lxcfs[4712]:   0: fd:   6: cpuset,cpu,io,memory,hugetlb,pids,rdma,misc
Feb 17 02:58:31 pve lxcfs[4712]: Kernel supports pidfds
Feb 17 02:58:31 pve lxcfs[4712]: Kernel supports swap accounting
Feb 17 02:58:31 pve lxcfs[4712]: api_extensions:
Feb 17 02:58:31 pve lxcfs[4712]: - cgroups
Feb 17 02:58:31 pve lxcfs[4712]: - sys_cpu_online
Feb 17 02:58:31 pve lxcfs[4712]: - proc_cpuinfo
Feb 17 02:58:31 pve lxcfs[4712]: - proc_diskstats
Feb 17 02:58:31 pve lxcfs[4712]: - proc_loadavg
Feb 17 02:58:31 pve lxcfs[4712]: - proc_meminfo
Feb 17 02:58:31 pve lxcfs[4712]: - proc_stat
Feb 17 02:58:31 pve lxcfs[4712]: - proc_swaps
Feb 17 02:58:31 pve lxcfs[4712]: - proc_uptime
Feb 17 02:58:31 pve lxcfs[4712]: - proc_slabinfo
Feb 17 02:58:31 pve lxcfs[4712]: - shared_pidns
Feb 17 02:58:31 pve lxcfs[4712]: - cpuview_daemon
Feb 17 02:58:31 pve lxcfs[4712]: - loadavg_daemon
Feb 17 02:58:31 pve lxcfs[4712]: - pidfds
Apr 10 21:48:14 pve systemd[1]: Stopping FUSE filesystem for LXC...
Apr 10 21:48:14 pve lxcfs[4712]: Running destructor lxcfs_exit
Apr 10 21:48:14 pve fusermount[1514671]: /bin/fusermount: failed to unmount /var/lib/lxcfs: Invalid argument
Apr 10 21:48:14 pve systemd[1]: lxcfs.service: Succeeded.
Apr 10 21:48:14 pve systemd[1]: Stopped FUSE filesystem for LXC.


Code:
root@pve:~# journalctl -ex
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ Automatic restarting of the unit lxcfs.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
May 06 20:15:55 pve systemd[1]: Stopped lxcfs.service - FUSE filesystem for LXC.
░░ Subject: A stop job for unit lxcfs.service has finished
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A stop job for unit lxcfs.service has finished.
░░
░░ The job identifier is 2201 and the job result is done.
May 06 20:15:55 pve systemd[1]: lxcfs.service: Start request repeated too quickly.
May 06 20:15:55 pve systemd[1]: lxcfs.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit lxcfs.service has entered the 'failed' state with result 'exit-code'.
May 06 20:15:55 pve systemd[1]: Failed to start lxcfs.service - FUSE filesystem for LXC.
░░ Subject: A start job for unit lxcfs.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit lxcfs.service has finished with a failure.
░░
░░ The job identifier is 2201 and the job result is failed.
 
Last edited:
Hello,

Could you please post the output of `pveversion -v`?

Does the upgrade went well? If yes - I would also try to re-install the `lxcfs` using the following command:
Bash:
apt install lxcfs --reinstall
 
Hi,
did you already reboot into the newly installed kernel?
 

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!