• 1 Post
  • 4 Comments
Joined 2 years ago
cake
Cake day: June 13th, 2023

help-circle


  • Like a VM virtual disk? Those are exclusive to each VM and can’t be shared, so if you want multiple VMs to access the same data then NFS would be needed.

    But containers with bind mounts don’t have that limitation and multiple containers can access the same data (such as media).

    Just to be clear, are you saying that when you’re using bind-mounted ZFS pools, it’s okay to write from two containers (or both the proxmox host and a container) at the same time?

    Also, I think I managed to accomplish that for a VM by creating a Proxmox Directory pointing to a path in a zpool, adding it to the VM using virtiofs, and mounting it within the VM. I’m not sure if writes from both the VM and the host are safe in that case either, though.