I cannot go into detail about how or where your particular system is writing 
files.   All I can reiterate is that bbd images can only be mounted to one host 
at a time, unless you're using a cluster aware file system.  

Hope that helps!
-Mike

-----Original Message-----
From: mail list [mailto:louis.hust...@gmail.com] 
Sent: Tuesday, November 25, 2014 8:27 PM
To: Michael Kuriger
Cc: ceph-us...@ceph.com
Subject: Re: [ceph-users] Question about mount the same rbd in different machine

Hi Michael,

I write the same file with different content, and there is no hint for 
overwrite, so when the corrupt will appear?

On Nov 26, 2014, at 12:23, Michael Kuriger <mk7...@yp.com> wrote:

> Each server mounting the rbd device thinks it's the only server writing to 
> it.  They are not aware of the other server and therefore will overwrite and 
> corrupt the filesystem as soon as each server writes a file.
> 
> -----Original Message-----
> From: mail list [mailto:louis.hust...@gmail.com] 
> Sent: Tuesday, November 25, 2014 8:11 PM
> To: Michael Kuriger
> Cc: ceph-us...@ceph.com
> Subject: Re: [ceph-users] Question about mount the same rbd in different 
> machine
> 
> hi, 
> 
> But i have touched the same file on the two machine under the same rbi with 
> no error. 
> will it cause some problem or just not suggested but can do?
> 
> On Nov 26, 2014, at 12:08, Michael Kuriger <mk7...@yp.com> wrote:
> 
>> You can't write from 2 nodes mounted to the same rbd at the same time 
>> without a cluster aware file system.
>> 
>> 
>> 
>> -----Original Message-----
>> From: ceph-users [mailto:ceph-users-boun...@lists.ceph.com] On Behalf Of 
>> mail list
>> Sent: Tuesday, November 25, 2014 7:30 PM
>> To: ceph-us...@ceph.com
>> Subject: [ceph-users] Question about mount the same rbd in different machine
>> 
>> Hi, all
>> 
>> I create a rbd named foo, and then map it and mount on two different 
>> machine, and when i touch a file on the machine A, machine B can not see the 
>> new file, and machine B can also touch a same file!
>> 
>> I want to know if the rbd the same on machine A and B? or exactly they are 
>> two rbd?
>> 
>> Any idea will be appreciate!
>> _______________________________________________
>> ceph-users mailing list
>> ceph-users@lists.ceph.com
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.ceph.com_listinfo.cgi_ceph-2Dusers-2Dceph.com&d=AAICAg&c=lXkdEK1PC7UK9oKA-BBSI8p1AamzLOSncm6Vfn0C_UQ&r=CSYA9OS6Qd7fQySI2LDvlQ&m=Xr6ISOkb1Lr6Bkl1PP_iLNTxnz38NvS2tI3k_MDbARA&s=IFerPncrFNxmE2_vwEv8X-XVezPfATstmGR6FL8jmaU&e=
>>  
> 

_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to