Hi
While using ping_ping to test the cephfs file systems mounted by the ceph-fuse, i found it failed.
my cluster is 4 nodes. one mon/mds , three server(3 osd/server), OS : centos6.6 , add "fuse_disable_pagecache=true , fuse_use_invalidate_cb=true " in ceph.conf
[root@node2 opt]# ./ping_pong -rw /export/test/zzz 4
data increment = 1
^C 367 locks/sec
[root@node3 opt]# ./ping_pong -rw /export/test/zzz 4
data increment = 1
^C 402 locks/sec
[root@node0 /]# ceph -v
ceph version 9.0.3 (7295612d29f953f46e6e88812ef372b89a43b9da)
[root@node0 /]# rpm -qa | grep fuse
rbd-fuse-9.0.3-0.el6.x86_64
fuse-libs-2.8.3-4.el6.x86_64
ceph-fuse-9.0.3-0.el6.x86_64
[root@node1 /]# uname -r
2.6.32-504.el6.x86_64
[root@node2 opt]# cat /proc/version
Linux version 2.6.32-504.el6.x86_64 (mockbuild@xxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC) ) #1 SMP Wed Oct 15 04:27:16 UTC 2014
[root@node2 opt]# vim /etc/ceph/ceph.conf
[global]
fsid =7be14c22-5144-4a3e-9197-eaf02ac079d2
mon initial members = node0
mon host = 192.168.50.5
auth cluster required = cephx
auth service required = cephx
auth client required = cephx
osd journal size = 1024
filestore xattr use omap = true
fuse_disable_pagecache=true
fuse_use_invalidate_cb=true
osd pool default size = 2
osd pool default min size = 1
osd pool default pg num = 333
osd pool default pgp num = 333
osd crush chooseleaf type = 1
[mon.node0]
host=node0
mon addr =192.168.50.5
[osd.0]
host=node1
....
thanks
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com