Red Squirrel
[H]F Junkie
- Joined
- Nov 29, 2009
- Messages
- 9,211
I will be building a VM server, possibly two so I can do clustering. Wondering what is the best setup for file storage? I currently have a Linux server using mdadm raid and NFS, but NFS kinda sucks. I hate how the permissions work and overall it's just a mess to deal with. You have to sync user ID and group IDs across all machines, root does not work without enabling root squash which is a security issue etc. Heck even with regular users it's not secure because there's no actual authentication other than UID/GIDs. Yeah there's kerberos/ldap but that's super complicated to setup.
What I want is a network based file system where the machine needs to authenticate, but once the drive is mapped, then EVERYONE on the system has access to it. KVM/Qemu and most other solutions run as root, so at very least, root needs access.
What about iSCSI? From what I understand though I need a cluster aware file system if I want to map iSCSI luns on more than one system. Is there any such file systems for Linux?
I have not decided yet on a VM solution, but it will probably be Proxmox, or maybe just using Qemu/KVM directly. Playing with it on my current machine, and I just realized just how much of a mess the whole NFS/permission scheme is. Idealy I probably should use iSCSI anyway, but I want to make sure that will work fine if I introduce multiple machines.
What I want is a network based file system where the machine needs to authenticate, but once the drive is mapped, then EVERYONE on the system has access to it. KVM/Qemu and most other solutions run as root, so at very least, root needs access.
What about iSCSI? From what I understand though I need a cluster aware file system if I want to map iSCSI luns on more than one system. Is there any such file systems for Linux?
I have not decided yet on a VM solution, but it will probably be Proxmox, or maybe just using Qemu/KVM directly. Playing with it on my current machine, and I just realized just how much of a mess the whole NFS/permission scheme is. Idealy I probably should use iSCSI anyway, but I want to make sure that will work fine if I introduce multiple machines.