I have Truenas Scale as a file repository. Then Proxmox on seperate machine but same network. On Proxmox I have VM withe several services. Some of these store several GBs of data so i would lime to mount datasets to Proxmox. What is the best wat of doing this? Mount a single nfs share to proxmox and the mount this share in the vm or should i mount the truenas daraset directly in the vm? The latter semms simpler? My.main cincern is avoiding disasters on services, vm and proxmox il nas goes offline for whatever reason. Is there a way to deal with this risk?

  • Luckyfriend222@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 hours ago

    Mount the NFS in the VM itself. If it is LXC make sure the container has the permissions set in Proxmox itself for it to be allowed to mount things like NFS and SMB.

      • tofu@lemmy.nocturnal.garden
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 hours ago

        Mounting into the VM and then bindmount as the other commenter suggested is the most straightforward. The trickiest part will be Dataset ownership and permissions in TrueNAS so that the clients can read and write, but there’s tutorials for exactly that.

      • Luckyfriend222@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 hours ago

        Mount it in the VM and then ensure the containers can write to the volumes. That will be quickest, easiest and most maintainable.