Project

General

Profile

Bug #58029

cephfs-data-scan: multiple data pools are not supported

Added by Mykola Golub 3 months ago. Updated 2 months ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

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

Description

The tool cannot properly recover if a fs has extra data pools. We need access to all data pools on `scan_extents` step to "accumulate inode metadata".

One way to fix it would be to call cephfs-data-scan scan_extents sequentially for all pools. It does not work currently, because we call accumulate_inode_metadata on the scanned pool why we should call it on the first data pool.

There is other way to fix though: allow to provide the list of all data pools to scan_extents command. This approach seems more preferable to me, because actually we may make the data pool arguments optional, allowing the tool to autodetect it.

History

#1 Updated by Mykola Golub 3 months ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 48894

#2 Updated by Venky Shankar 2 months ago

  • Backport changed from quincy,pacific,octopus to quincy,pacific

Also available in: Atom PDF