Re: How to sync data on different server but with the same image

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

 



Hi,

----- Original message -----
> Dear All:
> 
>       I map the same rbd image to the rbd device on two different servers.
> 
>     For example:     
>           1. create rbd image named foo
>           2. map foo to /dev/rbd0 on server A,   mount /dev/rbd0 to /mnt
>           3. map foo to /dev/rbd0 on server B,   mount /dev/rbd0 to /mnt
> 
>       If I put add a file to /mnt via server A, I hope I can see the same
> file on server B.
>       However, I can't see it until I umount /mnt on server A and re-mount
> /mnt on server B.

You'd have to use an cluster filesystem like GFS or OCFS2 to let this work.

But why not use Ceph as a filesystem instead of RBD? That seems to do what you want.

Wido

>       
>       Do you have any comment about this scenario? How could I force the
> data synchronization?
> 
>       Actually, I want to implement the iSCSI High Available multipath on
> http://ceph.newdream.net/wiki/ISCSI.
>       Therefore, I tried this small experiment first, but fail. Would you
> please give me some suggestion before I start to implement it? Thanks!
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at   http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux