Hi Hadi, AFAIK, you can’t safely mount RBD as R/W on multiple machines. You could re-export the RBD as NFS, but that’ll introduce a bottleneck and probably tank your performance gains over CephFS.
For what it’s worth, some of our RBDs are mapped to multiple machines, mounted read-write on one and read-only on the others. We haven’t seen any strange effects from that, but I seem to recall it being ill advised. —Lincoln > On Jul 22, 2015, at 2:05 PM, Hadi Montakhabi <[email protected]> wrote: > > Hello Cephers, > > I've been experimenting with CephFS and RBD for some time now. > From what I have seen so far, RBD outperforms CephFS by far. However, there > is a catch! > RBD could be mounted on one client at a time! > Now, assuming that we have multiple clients running some MPI code (and doing > some distributed I/O), all these clients need to read/write from the same > location and sometimes even the same file. > Is this at all possible by using RBD, and not CephFS? > > Thanks, > Hadi > _______________________________________________ > ceph-users mailing list > [email protected] > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
