From mboxrd@z Thu Jan 1 00:00:00 1970 From: Elita Lobo Subject: Re: Query regarding storage of objects in ceph Date: Sun, 11 Sep 2016 21:43:22 +0530 Message-ID: References: <20160907061804.GH5914@rskikr.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-oi0-f54.google.com ([209.85.218.54]:34149 "EHLO mail-oi0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751044AbcIKQNY (ORCPT ); Sun, 11 Sep 2016 12:13:24 -0400 Received: by mail-oi0-f54.google.com with SMTP id m11so257911285oif.1 for ; Sun, 11 Sep 2016 09:13:23 -0700 (PDT) In-Reply-To: Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Brad Hubbard Cc: ceph-devel Hi, Thanks, Will look into it. Regards, Elita Lobo On Sun, Sep 11, 2016 at 9:41 PM, Elita Lobo wrote: > Hi, > > Thanks, Will look into it. > > > Regards, > Elita Lobo > > On Wed, Sep 7, 2016 at 11:48 AM, Brad Hubbard wrote: >> >> On Wed, Sep 07, 2016 at 11:14:26AM +0530, Elita Lobo wrote: >> > Hi, >> > >> > Thanks , It was helpful. Could you please tell me how to trace local >> > function calls made by ceph? >> > I tried using gdb but it gave the following error. >> > >> > https://paste.fedoraproject.org/423219/73227055/ >> >> Those errors look to be primarily because of missing debuginfo. >> >> You can use command files in gdb or "-ex" commands on the command line to >> set a >> breakpoint, dump a backtrace, continue and detach if you want to dump >> stacks >> when known functions are hit. https://poormansprofiler.org/ is a good >> starting >> point. Adding dout statements and looking at the logs can also be helpful >> to >> understand what is going on. >> >> I'm sure others have more ideas. >> >> -- >> Cheers, >> Brad >> >> > >> > On Tue, Sep 6, 2016 at 10:35 AM, Brad Hubbard >> > wrote: >> > > On Tue, Sep 6, 2016 at 2:31 PM, Elita Lobo >> > > wrote: >> > >> Hello, >> > >> >> > >> I am using Ceph in my research project and hence need to know a bit >> > >> about how it works internally. I would be grateful if someone would >> > >> answer my queries. >> > >> >> > >> When chunks of 2 objects have to be stored on an osd, are they put >> > >> into the same file or are these chunks stored in separate file. Is >> > >> there any way I could see this data using some command? And in which >> > >> folder of the osd are they stored in? >> > > >> > > Working your way through this may help. >> > > >> > > http://cephnotes.ksperis.com/blog/2013/08/20/ceph-osd-where-is-my-data >> > > >> > >> >> > >> Also, is there a way I can see the whole flow of function calls made >> > >> when a node repair is going on? >> > >> >> > >> Lastly, could someone please suggest some resources ( other than >> > >> docs) >> > >> which would help me understand the internal implementation and give >> > >> me >> > >> an idea how to debug in ceph. (Attaching gdb to ceph daemons running >> > >> in the background etc) >> > >> >> > >> Thanking you, >> > >> Yours sincerely, >> > >> Elita Lobo >> > >> -- >> > >> To unsubscribe from this list: send the line "unsubscribe ceph-devel" >> > >> in >> > >> the body of a message to majordomo@vger.kernel.org >> > >> More majordomo info at http://vger.kernel.org/majordomo-info.html >> > > >> > > >> > > >> > > -- >> > > Cheers, >> > > Brad > >