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
    3
    ·
    22 days 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.

    • trilobite@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      21 days ago

      Ok, that sounds neat. I have a large dataset shared with proxmox to save snapshots of the VMs. Is there a setting in proxmox that will prevent it hanging if the share goes down? Also, if i have 5 services on vm, do i need 5 top level datasets on TN or can i nest in a “proxmox_services” datset, which would be easier to maintain and setup for replication, rsync, etc?