Created cache pool for documentation:
http://ceph.com/docs/master/dev/cache-pool/

*ceph osd pool create cache 100*
*ceph osd tier add rbd cache*

*ceph osd tier cache-mode cache writeback*

*ceph osd tier set-overlay rbd cache*

*ceph osd pool set cache hit_set_type bloom*

*ceph osd pool set cache hit_set_count 1*

*ceph osd pool set cache hit_set_period 600*
*ceph osd pool set cache target_max_bytes 10000000000 #10Gb*

*ceph osd tree:*
# id    weight  type name       up/down reweight
-1      6       root default
-2      2               host ceph01
0       1                       osd.0   up      1
3       1                       osd.3   up      1
-3      2               host ceph02
1       1                       osd.1   up      1
4       1                       osd.4   up      1
-4      2               host ceph03
2       1                       osd.2   up      1
5       1                       osd.5   up      1

*rbd -p rbd ls -l *
NAME   SIZE PARENT FMT PROT LOCK
test 10240M          1

*rbd map rbd/test*
rbd: add failed: (5) Input/output error

*uname -a*
Linux ceph01.bank-hlynov.ru 3.14.0-rc7-bank-hlynov.ru #1 SMP Mon Mar 17
11:49:22 MSK 2014 x86_64 x86_64 x86_64 GNU/Linux. Linux CentOS 6.5

Debug mode and strace in logs.

https://drive.google.com/folderview?id=0BxoNLVWxzOJWX0NLV1kzQ1l3Ymc&usp=sharing


-- 
С уважением, Фасихов Ирек Нургаязович
Моб.: +79229045757

Attachment: ceph.conf
Description: Binary data

_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to