Re: [MDS] scrub_path progress

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

 



On Sun, May 21, 2017 at 6:44 PM, Andreas Gerstmayr
<andreas.gerstmayr@xxxxxxxxx> wrote:
> Some progress: The return code is -EBUSY (that explains why I didn't
> find anything looking for the number 16 in the source code of Ceph)
> https://github.com/ceph/ceph/blob/kraken/src/mds/MDCache.cc#L11996
>
> The status is inside ScrubStack#inode_stack and
> ScrubStack#scrubs_in_progress - is there a way to access this
> information (e.g. with the MDS admin socket)?

Not really -- here are some related tickets:
http://tracker.ceph.com/issues/12282
http://tracker.ceph.com/issues/17852

If anyone would like to add some functionality to make the scrub
interface easier to use, that would be most welcome -- the basic
functionality of having a list of scrubs in progress and a command to
show them would be fairly simple.

John


>
> 2017-05-19 17:02 GMT+02:00 Andreas Gerstmayr <andreas.gerstmayr@xxxxxxxxx>:
>> Hi,
>>
>> is there a way to monitor the progress of the 'ceph daemon mds.0
>> scrub_path / recursive repair' command? It returns immediately
>> (without any output), but the MDS is scrubbing in the background.
>>
>> When I start the same command again, I get a JSON response with return_code: -16
>> What does this return code indicate, and where is it defined in the code?
>>
>>
>> Thanks,
>> Andreas
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux