RBD shared between clients

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

 



Hi, 

I've been trying to use block device recently. I have a running cluster with 2 machines and 3 OSDs. 

On a client machine, let's say A, I created a rbd image using `rbd create` , then formatted, mounted and wrote something in it, everything was working fine.

However, problem occurred when I tried to use this image on the other client, let's say B, on which I mapped the same image that created on A. I found that any changes I made on any of them cannot be shown on the other client, but if I unmap the device and then map again, the changes will be shown.

I tested the same thing with ceph fs, but there was no such problem. Every change made on one client can be shown on the other client instantly.

I wonder whether this kind of behavior of RADOS block device is normal or not. Is there any way that we can read and write on the same image on multiple clients?

Any idea is appreciated.

Thanks 
_______________________________________________
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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux