Mounting Network File share From a Proxmox VM after Reboot

m4eriftwar

New Member
Jun 4, 2022
1
0
1
Hello I know that there are multiple ways to mount a File share. My situation is that I created a truenas VM in Proxmox but I need it to mount after reboot. The issue that I am seeing is that the mount command is running during boot but since the VM isn't up yet it fails. So I am wonder if there is a way to run the mount command after everything has booted.
 
Plug this into google: systemd unit mount nfs
Make it repeat until success.

Or google: custom systemd script
Create a script that probes the health of your VM and mounts when the NFS is up. You can also make it dependent on PVE service to speed things up.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox