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@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to