nfs storage mounts get unmounted

elminster13

New Member
Oct 18, 2022
6
0
1
I am hoping someone might be able to explain or help me understand what might be happening with a couple of containers I have which use nfs mounts to my truenas server.

On the truenas server I have three nfs shares: nfs1, nfs2 and nfs3

On proxmox I have two lxc containers: lxc1 and lxc2

I have added the nfs shares as storage options in proxmox and then I have mounted those into the containers using:
pct set <lxc1> -mp0 /mnt/pve/nfs1,mp=/mnt/nfs1
pct set <lxc1> -mp0 /mnt/pve/nfs3,mp=/mnt/nfs3
pct set <lxc2> -mp0 /mnt/pve/nfs2,mp=/mnt/nfs2
pct set <lxc2> -mp0 /mnt/pve/nfs3,mp=/mnt/nfs3

Whats really weird to me is that this works fine when I start up one lxc but then when I start the other it dismounts. as though I can only have the nfs share mounted in one container even though they are different shares?
 
Last edited:
I think I may have figured it out, I think mount points are unique so I shouldnt be using mp0 all the time, rather mp1..2...3 etc.. but i need to experiment to see if that is per container or per node
 
Last edited:

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!