Modifying Shutdown Sequence (Stop LXC's prior to Networking)

_chris

New Member
Dec 31, 2023
1
0
1
Does anyone have suggestions for modifying the shutdown process? It would seem that Prox (8.1.3 and others) drop elements of the networking and NFS mounts before stopping the running LXC's. Due to this current order the automated shutdown of the lxc's can take 300 plus seconds to timeout and force stop if an nfs mount point is used in the lxc.

Is there a way to latch onto say mnt-remote.mount to say don't stop until pve-manager (or similar) is fully stopped?
 
Last edited:
Does anyone have suggestions for modifying the shutdown process? It would seem that Prox (8.1.3 and others) drop elements of the networking and NFS mounts before stopping the running LXC's. Due to this current order the automated shutdown of the lxc's can take 300 plus seconds to timeout and force stop if an nfs mount point is used in the lxc.

Is there a way to latch onto say mnt-remote.mount to say don't stop until pve-manager (or similar) is fully stopped?
Fair question, having the same issue myself.

Using containers that use NFS mounts inside them, and they refuse to stop or shutdown, have to kill the "lxc-start" to get them to die. Welcome any suggestions.
 

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!