I am using a MINISFORUM NAB6 mini-pc which runs Proxmox 8.2.4. I was trying to set up Plex using a LXC container using this tutorial https://www.derekseaman.com/2023/04/proxmox-plex-lxc-with-alder-lake-transcoding.html
Everything worked, but after setting up an NFS share on the Proxmox host and mounting it in the LXC container, I decided to mount a different folder from my TrueNAS physical server.
Even after stopping the LXC container, the command to unmount the NFS share failed, stating it was still in use. I din’t see any files in the share so it looked like it was half-unmounted. In a rush, I changed the mount folder name, updated the LXC config, and Plex worked.
A restart of pvestatd didn’t work: systemctl start pvestatd
A restart of pvedaemon worked, but forum posts indicated that the problem would reappear after a few minutes. I didn’t wait for it to happen and continued searching for solutions.
A Reddit post from here mentioned NFS, which made me check the old NFS mount. It was still active, so I unmounted it successfully this time.
I assume that pvestatd / pvedaemon are involved in reading stats for disks / mounts so a NFS share that is not working anymore can cause that.