Existing Data and self mounts ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 127.0.0.1:/testvol /mnt/gfstest
---> on server2: mount -t gluster 127.0.0.1:/testvol /mnt/gfstest

CLIENT:
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 ?


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


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux