[Gluster-users] using glusterfs 2.0 replication

Vikas Gorur vikas at gluster.com
Mon Aug 17 07:39:32 UTC 2009


----- "Sven Kummer" <mail at proxworx.org> wrote:

> I removed the files in the export directory on server1 only for
> simulating a hdd crash (files lost) and want the server1-daemon to resync it's
> export directory with the other server.

Sven,

What is happening in your case is:

http://www.gluster.org/docs/index.php/Understanding_AFR_Translator#Self-heal_of_a_file_that_does_not_exist_on_the_first_subvolume

If you happen to lose all files on server1, you can force self-heal to
happen by doing:

On server2 backend root at server2 # find /path/to/export/dir > file-list.txt
On mountpoint: root at client1 # cat file-list.txt | xargs stat

Vikas
-- 
Engineer - http://gluster.com/




More information about the Gluster-users mailing list