Re: Question about mount the same rbd in different machine

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

 



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.ml@xxxxxxxxx] 
Sent: Tuesday, November 25, 2014 8:11 PM
To: Michael Kuriger
Cc: ceph-users@xxxxxxxx
Subject: Re:  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 <mk7193@xxxxxx> 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-bounces@xxxxxxxxxxxxxx] On Behalf Of mail list
> Sent: Tuesday, November 25, 2014 7:30 PM
> To: ceph-users@xxxxxxxx
> Subject:  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@xxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux