I am wondering the best approach to provide access to my remote file systems. I run into permissions issues regardless so I would like to confirm the approach to share access to files located on my trueNAS scale server. I have the file structure already setup and in use already by TrueNas scale apps.
/mnt/hddpool/data is the root folder for everything and is shared via NFS as (as "data") via CIFS. Since these are all Linux systems, my plan is to have apps in LXC use NFS.
I believe I can either directly mount each LXC to the NFS share directly, or I could mount the NFS share to the promoxmox datacenter, then use a mountpoint? to make it available in the lxc apps. neither seems to work.
If I go Datacenter-Storage-add NFS, then the NFS share shows up in Export correctly, but when I add I get a create storage failed: mkdir /mnt/vpe/TNdata/images: Permission denied at /usr/share/perl5/PVE/Storage/Plugin.pm line 1389 (500)
If I go directly to the NFS mount featured lxc, from its console install nfs-common, create a mount point folder, add the line to fstab IP:/mnt/hddpool/data /mnt/tdarr nfs defaults 0 0
then mount w mount -a I see no errors, but if I try to see the mounted share with ls -l /mnt/tdarr I see not file structure, just a permissions error.
/mnt/hddpool/data is the root folder for everything and is shared via NFS as (as "data") via CIFS. Since these are all Linux systems, my plan is to have apps in LXC use NFS.
I believe I can either directly mount each LXC to the NFS share directly, or I could mount the NFS share to the promoxmox datacenter, then use a mountpoint? to make it available in the lxc apps. neither seems to work.
If I go Datacenter-Storage-add NFS, then the NFS share shows up in Export correctly, but when I add I get a create storage failed: mkdir /mnt/vpe/TNdata/images: Permission denied at /usr/share/perl5/PVE/Storage/Plugin.pm line 1389 (500)
If I go directly to the NFS mount featured lxc, from its console install nfs-common, create a mount point folder, add the line to fstab IP:/mnt/hddpool/data /mnt/tdarr nfs defaults 0 0
then mount w mount -a I see no errors, but if I try to see the mounted share with ls -l /mnt/tdarr I see not file structure, just a permissions error.