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
 

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!