nfs shares not mounting on lxc container reliably

johnvick

Member
Mar 1, 2022
27
3
8
65
I have an OMV NAS with several nfs shares. These have been added to Proxmox 7.1-10 host (Datacentre/storage/add/nfs) and are reliably mounted. They are passed to a Ubuntu 21.10 lxc container (CT101) in the 101.conf file:

mp0: /mnt/pve,mp=/shared

and sometimes the contents of the shares can be seen in the shared folder but usually not. A host reboot sometimes fixes this but often does not.

Can't work out why this is any help appreciated.
 
I've found that if I go to Datacentre/storage/add/nfs, remove an nfs share then re-add it all the shares become available in the container. Hoping to get a better solution than this.
 

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!