Re: How to confirm whether the rbd cache is open?

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

 



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 (yeshaochen@xxxxxxxxxxx)

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



_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
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@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com





[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux