[Gluster-devel] Re: AFR Translator have problem

Angel clist at uah.es
Wed Jan 16 16:15:46 UTC 2008


I thinks AFR replication occurs on file access

try to touch all files from the client and probably you will trigger replication onto server3

client --> creates files on AFR(server1,server2)

server 3 goes up now we have AFR(server1,server2,server3)

you wont see any files on server3


now touch files from the client, AFR will be triggered

now you will see touched files on server3

ive made similar test on local scenarios client --> local AFR(dir1,dir2)

i copied a file test.pdf to my mountpoint and it got replicated on both 'remote' dirs. Next i deleted one copy on the exported 'remote' directories (dir1)
After that,  i opened the pdf file on the mount point, it opened right and i could see now dir1 was storing a new copy of test.pdf again.

it seems for me looking at the code that things mostly occur on file operations because xlator work intercepting fuse calls along the path to posix modules. 

my tests showed things occurring like this...


Regards Angel
El Miércoles, 16 de Enero de 2008 Anand Avati escribió:
> Dinh,
>  can you post your spec files, mentioning the order of events in terms of
> subvolumes?
> 
> thanks,
> avati
> 
> ---------- Forwarded message ----------
> From: An. Dinh Nhat <andn at vinagame.com.vn>
> Date: 16-ene-2008 16:07
> Subject: AFR Translator have problem
> To: gluster-devel-owner at nongnu.org
> 
>  Hi.
> 
> I set up 3 server using
> GlusterFS<http://www.gluster.org/docs/index.php/GlusterFS>.Begin
> I start 2 server after From Client I mount
> GlusterFS<http://www.gluster.org/docs/index.php/GlusterFS>and copy 10
> file on volume
> gluster.After I start 'server 3' however I don't see any file on 'server
> 3',I think  AFR Translator have problem.
> 
> 
> 
> [root at client examples]# glusterfs -V
> 
> glusterfs 1.3.7 built on Dec 18 2007
> 
> 
> 
> 
> 
> Thanks & Best Regard,[image: victory]
> Đinh Nhật An
> System Engineer
> 
> System Operation - Vinagame JSC
> Email:andn at vinagame.com.vn - Yahoo:atuladn
> *V*inagame *J*SC - 459B Nguyễn Đình Chiểu. Q3 , HCMC , VietNam
> 
> Office phone: 8.328.426 Ext 310
> 
> 
> 
> 
> 



-- 
------------------------------------------------
Clist UAH
------------------------------------------------





More information about the Gluster-devel mailing list