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.
 

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!