Because you are not using a cluster aware filesystem - the respective
mounts
don't know when changes are made to the underlying block device (rbd) by
the
other mount. What you are doing *will* lead to file corruption.
Your need to use a distributed filesystem such as GFS2 or cephfs.
On 14.01.2015 14:20, Rafał Michalak wrote:
#node1
mount /dev/rbd/rbd/test /mnt
#node2
mount /dev/rbd/rbd/test /mnt
If you want to mount a filesystem on one block device onto multiple
clients, the filesystem has to be clustered, e.g. OCFS2.
A normal local filesystem like ext4 or XFS is
On Wed, 14 Jan 2015 02:20:21 PM Rafał Michalak wrote:
Why data not replicating on mounting fs ?
I try with filesystems ext4 and xfs
The data is visible only when unmounted and mounted again
Because you are not using a cluster aware filesystem - the respective mounts
don't know when changes
...@gmail.commailto:rafa...@gmail.com
Date: Wednesday, January 14, 2015 at 5:20 AM
To: ceph-users@lists.ceph.commailto:ceph-users@lists.ceph.com
ceph-users@lists.ceph.commailto:ceph-users@lists.ceph.com
Subject: [ceph-users] two mount points, two diffrent data
Hello I have trouble with this situation
#node1
mount
Hello I have trouble with this situation
#node1
mount /dev/rbd/rbd/test /mnt
cd /mnt
touch test1
ls (i see test1, OK)
#node2
mount /dev/rbd/rbd/test /mnt
cd /mnt
(i see test1, OK)
touch test2
ls (i see test2, OK)
#node1
ls (i see test1, BAD)
touch test3
ls (i see test1, test3 BAD)
#node2
ls (i