On 01/10/2014 10:36 AM, 叶绍琛 wrote:
Hi, all

When I use rbd device, I set rbd cache config info in ceph.conf file.
like this:
[client]
    rbd cache = true

But, How can I confirm whether the rbd cache was opened?


You could configure a admin socket like:

[client]
  rbd cache = true
  admin socket = /tmp/rbd-$name.sock

You can then query the admin socket and verify if the RBD cache is enabled.

Regards

Alan Ye (yeshaoc...@foxmail.com)

------------------
Alan Ye



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



--
Wido den Hollander
42on B.V.

Phone: +31 (0)20 700 9902
Skype: contact42on
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to