Doubts if make NFS sharing for VM data folders

valepe

New Member
Jan 20, 2021
7
0
1
55
Hi, I'm ready to install Proxmox on a DL380p Gen8 for my homelab.
I searched a bit and I'm oriented to install samba service on the host to share some folders to the network.

One or two of these folders are data/configs of VMs (mainly Docker containers configs).

If I mount these paths to the VMs and the same paths are also shared via Samba will I have file accessibility issues?

Or should I also share these folders via NFS to mount them inside the VMs?

Thanks
 
Last edited:
i don't completely understand your question,
samba is very similar to nfs, if you share some folder via samba you can mount it over the network in the vms (the same as nfs)

what exactly do you want to share where you think there will be problems?
 
i don't completely understand your question,
samba is very similar to nfs, if you share some folder via samba you can mount it over the network in the vms (the same as nfs)

what exactly do you want to share where you think there will be problems
An example: I have a Docker config folder inside a dataset.
I would like to mount it to the VM that runs Docker for containers purposes.
I would also like to share it to be able to change the configurations of these containers from my PC.
I thinked that it's a better way to avoid the extra layer of Samba share on the VM side.
Is this double access in creating and modifying the files prone to conflicts?

Thanks
 
I would like to mount it to the VM that runs Docker for containers purposes.
how exactly? via samba?
I thinked that it's a better way to avoid the extra layer of Samba share on the VM side.
i thought you wanted to share it on the host?
Is this double access in creating and modifying the files prone to conflicts?
if you modify a single file from multiple places simultaniously, yes that can lead to conflict, but that depends on how/when you modify them and not really anything to do with samba/nfs or the like
 
how exactly? via samba?
I thinked via mountpoints
i thought you wanted to share it on the host?
Yes
if you modify a single file from multiple places simultaniously, yes that can lead to conflict, but that depends on how/when you modify them and not really anything to do with samba/nfs or the like
I worried about file permissions conflicts

Can you give me some suggestions about that?