NFS Slow/Stuck Shutdown

vertigo8

New Member
Mar 3, 2024
1
0
1
Hi

I'm having issues with NFS with my shutdown of PVE being stuck, or takes forever/long time Specifically the LXC container, is where the hold up is.

My setup is as follows:
  1. Running pve 8.1.4
  2. Running pci passthrough with a HBA to a TrueNAS VM.
  3. TrueNAS VM hosts my NFS shares.
  4. NFS shares are mounted on my PVE host/parent with automount via systemctl.
  5. A LXC container has the above NFS shares in above step mounted via a bind from the PVE host
Steps I've done to try to alleviate the issue:

  1. Added a hookscript to the LXC, where under the pre-stop section, I have "fusermount -uz /mnt/share" command
  2. Added a shutdown service to the PVE host/parent, which stops the automount systemctl service and unmounts on PVE

Any ideas what I could be doing wrong here?

Thanks.