Re: how to debug librados/librbd in logfile

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

 



On Thu, Jan 28, 2016 at 10:45 PM, huang jun <hjwsm1989@xxxxxxxxx> wrote:
> we run ceph version 0.94.5, and use the root.
> The use case is tgt + librbd,
> i want to record all operations used by tgt during format, write, read, delete.

actually you can use lttng + rbd-replay to get it

>
>
> 2016-01-28 22:41 GMT+08:00 Wido den Hollander <wido@xxxxxxxx>:
>>
>>
>> On 28-01-16 15:33, huang jun wrote:
>>> hi,all
>>> I want to get debug log when using librados/librbd,
>>> set client section in ceph.conf:
>>> [client]
>>> debug_rbd = 20
>>> debug_objecter = 20
>>> log_file = /var/log/ceph/ceph.rbd.log
>>>
>>> that not work, file "/var/log/ceph/ceph.rbd.log" does not exist at all.
>>> Any ideas?
>>>
>>
>> Does the user under which you run the client have access to /var/log/ceph?
>>
>> You might want to try /tmp for a test.
>>
>> Wido
>
>
>
> --
> thanks
> huangjun
> --
> 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
--
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