Project

General

Profile

Actions

Bug #36370

closed

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

Added by Venky Shankar over 5 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Administration/Usability
Target version:
% Done:

0%

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

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 4 (1 open3 closed)

Related to CephFS - Feature #12282: mds: progress/abort/pause interface for ongoing scrubsResolvedVenky Shankar

Actions
Related to CephFS - Feature #38052: mds: provide interface to control/view internal operationsNew

Actions
Related to Dashboard - Bug #41525: mgr/dashboard: Missing service metadata is not handled correctlyResolvedVolker Theile

Actions
Copied to CephFS - Backport #41508: nautilus: add information about active scrubs to "ceph -s" (and elsewhere)ResolvedVenky ShankarActions
Actions

Also available in: Atom PDF