On Mon, 22 Apr 2013, Dan Mick wrote: > On 04/22/2013 11:09 AM, Scott Sullivan wrote: > > Referring to this: > > http://ceph.com/dev-notes/adding-support-for-rbd-to-stgt/ > > > > I compiled the latest tgt with RBD support. My question is when using > > this method to access RBD volumes, where do you tell it what user to > > authenticate to the cluster with? I do see the above linked page > > mentions it will read a local ceph.conf. > > Yes, as Wido hints at, it passes NULL to rados_create()'s second arg; that > means it will authenticate as client.admin. This could certainly be easily > fixed. While we're talking about tgt, I think we should also switch this over to use the aio librbd calls instead of the sync ones. It's functionally equivalent, but more efficient and cleaner. 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