[Gluster-users] Existing Data and self mounts ?
Jacques du Rand
jacquesdr at gmail.com
Mon Jun 4 08:05:35 UTC 2012
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
Then I mount the client:
mount server-1-ip:/testvol /mnt/gfstest
I only see files from server2 ???
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 ??
-Whats the best-practise to sync existing "data" ?
-Is it safe to create a brick in a directory that already has files in it ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gluster-users