I have NFS shares on separate OMV server that are used for storage in Proxmox 7.1-12 and they are always available on the host during the 8 hours a day the OMV server is on. These are passed through to privileged LXC Ubuntu 21.10 server container using the following line in /etc/pve/nodes/pve/lxc/101.conf:
mp0: /mnt/pve,mp=/shared
This works but only after full power cycle - after container restart or stop backup they go offline. I have spent days trying to get this working better to no avail. My question is, is there a command I can add to cron to get these share mounted without having to do a full power cycle?
Any help appreciated. From my reading NFS in LXC is a tricky business.
mp0: /mnt/pve,mp=/shared
This works but only after full power cycle - after container restart or stop backup they go offline. I have spent days trying to get this working better to no avail. My question is, is there a command I can add to cron to get these share mounted without having to do a full power cycle?
Any help appreciated. From my reading NFS in LXC is a tricky business.