How to share disk space between virtual machines? reddit / selfhosted ---------------------------------------------------------------------- aqa5 · 2023-12-03 12:08 I have serveral Ubuntu server running in virtual machines on my host. Everything works fine but there is a problem. I use NFS to share a common directory between the VMs. And as the machines user IDs are different so even when user and password are the same, they cannot write data or use data thats from another VM. Changing user IDs did not work properly, I rolled that back. So, someone mentioned Kerberos to manage users. This seems a bit too much effort. Is there a better, lightweight solution? Or even another way to share a common disk space? How is this done usually? ---------------------------------------------------------------------- weischin · 2023-12-03 14:35 I have an SMB share that is shared among all my VMs. They connect using the same credentials so it was easy to manage. ---------------------------------------------------------------------- IceOleg · 2023-12-03 17:19 Same, I find that Samba works really well for this purpose. ---------------------------------------------------------------------- Shtou · 2023-12-04 22:03 https://serverfault.com/questions/514118/mapping-uid-and-gid-of-local- user-to-the-mounted-nfs-share