Using GlusterFS for simple replication
- by k7k0
Hi, newbie question. I need to build this:
/shared folder ~500GB of files, ~1MB each one.
Two boxes (server1 and server2) connected by a 1Gbs LAN
Every box needs to get r/w access to the files, so their are both clients
I want that the files replicated on both boxes, every time a file is written in one server the same file should be present in the other one.
My questions regarding GlusterFS:
It'll duplicate the files on the same box?. For example the files are on /shared and the mount in /mnt/shared. It'll take 1GB space on every server?
Instead, should I use the filesystem directly, locally writing on /shared? Does the replication work in this way without mountin a client?
Also, if anyone know any other way to acomplish this setup I'll be very grateful.
Thanks in advance.