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 8 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 #1

Updated by Mykola Golub over 1 year ago

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

Updated by Venky Shankar over 1 year ago

  • Backport changed from quincy,pacific,octopus to quincy,pacific
Actions #3

Updated by Venky Shankar about 1 year ago

  • Category set to Correctness/Safety
  • Status changed from Fix Under Review to Pending Backport
  • Target version set to v18.0.0
  • Component(FS) tools added
Actions #4

Updated by Backport Bot about 1 year ago

  • Copied to Backport #59018: quincy: cephfs-data-scan: multiple data pools are not supported added
Actions #5

Updated by Backport Bot about 1 year ago

  • Copied to Backport #59019: pacific: cephfs-data-scan: multiple data pools are not supported added
Actions #6

Updated by Backport Bot about 1 year ago

  • Tags set to backport_processed
Actions #7

Updated by Backport Bot about 1 year ago

  • Copied to Backport #59020: reef: cephfs-data-scan: multiple data pools are not supported added
Actions #8

Updated by Konstantin Shalygin 8 months ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF