Using GlusterFS for simple replication
Posted
by k7k0
on Server Fault
See other posts from Server Fault
or by k7k0
Published on 2010-05-30T13:44:41Z
Indexed on
2010/05/30
13:54 UTC
Read the original article
Hit count: 469
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.
© Server Fault or respective owner