Project

General

Profile

Bug #36370

add information about active scrubs to "ceph -s" (and elsewhere)

Added by Venky Shankar 2 months ago. Updated 2 months ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
Administration/Usability
Target version:
Start date:
10/10/2018
Due date:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:

Description

currently, there is no way to track scrubs operations on a filesystem expect to check the mds log and figure out which ones have completed/pending (since multiple scrub operations can be triggered on subpaths).

It would be helpful if the active scrub operations are shown in ceph status output. Sample output can be:

MDS.<daemonID> scrubbing in progress: scrub_path <path_that_is_scrubbed> recursive repair
MDS.<daemonID> scrubbing in progress: scrub_path <different_path_that_is_scrubbed> recursive repair

This would especially simplify situations when multiple scrub_path commands were started or with large cephfs.


Related issues

Related to fs - Feature #12282: mds: progress/abort/pause interface for ongoing scrubs Need Review 07/10/2015

History

#1 Updated by Venky Shankar 2 months ago

  • Component(FS) MDS added

#2 Updated by Patrick Donnelly 2 months ago

  • Related to Feature #12282: mds: progress/abort/pause interface for ongoing scrubs added

Also available in: Atom PDF