Re: Double-mounting of RBD

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

 



On Wed, Dec 17, 2014 at 10:31 PM, McNamara, Bradley
<Bradley.McNamara@xxxxxxxxxxx> wrote:
> However, when testing this, when changes are made to the read-write Samba
> server the changes don’t seem to be seen by the read-only Samba server.  Is
> there some file system caching going on that will eventually be flushed?

As others have said, the read-only mount doesn't know how to poll the
block device to see updates from the read-write mount, so you won't
see updates to the data, and in general this is not a safe thing to
do.

One alternative would be taking a clone of a snapshot of the image,
and mounting that read-only -- obviously that data will only be as
up-to-date as whenever you did your last snapshot.  If the read-only
mounts are serving rarely updated files, the administrative overhead
of doing the snapshot/remount on data updates might be acceptable.

John
_______________________________________________
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