Project

General

Profile

Actions

Bug #58029

closed

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

Added by Mykola Golub over 1 year ago. Updated 9 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
% Done:

0%

Source:
Tags:
backport_processed
Backport:
quincy,pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
tools
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.


Related issues 3 (0 open3 closed)

Copied to CephFS - Backport #59018: quincy: cephfs-data-scan: multiple data pools are not supportedResolvedMykola GolubActions
Copied to CephFS - Backport #59019: pacific: cephfs-data-scan: multiple data pools are not supportedResolvedMykola GolubActions
Copied to CephFS - Backport #59020: reef: cephfs-data-scan: multiple data pools are not supportedResolvedMykola GolubActions
Actions

Also available in: Atom PDF