Nfs
Comment on Proxmox running TrueNAS and NextCloud or Nextcloud on TrueNAS via Docker?
tapdattl@lemmy.world 10 months agoGood point, I like the ability to choose between VMs and containers. If I had TrueNAS in one VM and Nextcloud in another, how would you link Nextcloud to TrueNAS? SMB share?
SeeJayEmm@lemmy.procrastinati.org 10 months ago
PeachMan@lemmy.world 10 months ago
Honestly I haven’t used Proxmox, but I assume they can share storage without having to set it up like a network drive? If not, SMB would work.
Dran_Arcana@lemmy.world 10 months ago
Proxmox uses scsi for disk images, which are single access only
Smb would be quite a lot of overhead, and it doesn’t natively support linux filesystem permissions. You’ll also run into issues with any older programs that rely on file locks to operate. nfs would be a much more appropriate choice.
Fun fact, it was literally the problems of sharing media storage between multiple workflows that got me to stop using virtual machines in proxmox and start building custom docker containers instead.
atzanteol@sh.itjust.works 10 months ago
You can do the NFS mount in the VM and share it as a volume with the docker container.
Dran_Arcana@lemmy.world 10 months ago
Apparmor will complain and block the nfs mount unless you disable apparmor for the container. Then in a lot of cases the container won’t be able to stop itself properly. At least that was my experience.