Re: Query regarding storage of objects in ceph

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

 



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 <bhubbard@xxxxxxxxxx> wrote:
> > On Tue, Sep 6, 2016 at 2:31 PM, Elita Lobo <loboelita@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
> >> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >
> >
> >
> > --
> > Cheers,
> > Brad
--
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



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux