On Tue, 3 Jul 2012, Stefan Priebe - Profihost AG wrote: > Hello, > > Am 02.07.2012 22:30, schrieb Josh Durgin: > > If you add admin_socket=/path/to/admin_socket for your client running > > qemu (in that client's ceph.conf section or manually in the qemu > > command line) you can check that caching is enabled: > > > > ceph --admin-daemon /path/to/admin_socket show config | grep rbd_cache > > > > And see statistics it generates (look for cache) with: > > > > ceph --admin-daemon /path/to/admin_socket perfcounters_dump > > This doesn't work for me: > ceph --admin-daemon /var/run/ceph.sock show config > read only got 0 bytes of 4 expected for response length; invalid > command?2012-07-03 09:46:57.931821 7fa75d129700 -1 asok(0x8115a0) AdminSocket: > request 'show config' not defined Oh, it's 'config show'. Also, 'help' will list the supported commands. > Also perfcounters does not show anything: > # ceph --admin-daemon /var/run/ceph.sock perfcounters_dump > {} There may be another daemon that tried to attach to the same socket file. You might want to set 'admin socket = /var/run/ceph/$name.sock' or something similar, or whatever else is necessary to make it a unique file. > ~]# ceph -v > ceph version 0.48argonaut-2-gb576faa > (commit:b576faa6f24356f4d3ec7205e298d58659e29c68) Out of curiousity, what patches are you applying on top of the release? sage -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html