[Gluster-users] Existing Data and self mounts ?

Jacques du Rand jacquesdr at gmail.com
Mon Jun 4 08:05:35 UTC 2012

HI Guys
This all applies to Gluster3.3

I love gluster but I'm having  some difficulties understanding some things.

1.Replication(with existing data):
Two servers in simple single brick replication. ie 1 volume (testvol)
-server1:/data/ && server2:/data/
-server1 has a few millions files in the /data dir
-server2 has a no files in /data dir

So after i created the testvol and started the volume
QUESTION (1): Do i  need to mount  each volume on the servers like so ? If
yes why ?
---> on server1: mount -t gluster /mnt/gfstest
---> on server2: mount -t gluster /mnt/gfstest

Then I mount the client:
mount server-1-ip:/testvol /mnt/gfstest

Question(2) :
I only see files from server2 ???

Question (3)
Whenever I'm writing/updating/working with the files on the SERVER i should
ALWAYS do it via the (local mount )/mnt/gfstest. I should never work with
files directly in the bricks /data ??

Question (4.1)
-Whats the best-practise to sync existing "data"  ?

Question (4.2)
-Is it safe to create a brick in a directory that already has files in it ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20120604/31d61b9e/attachment.html>

More information about the Gluster-users mailing list