Project

General

Profile

Actions

Feature #9903

closed

Recover lost dirfrag via data pool

Added by John Spray over 9 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
Labels (FS):
Pull request ID:

Description

[While the MDS cluster is offline and journal has been flushed if necessary]

Given that a particular dirfrag object (with known path) has been lost, scan data pool for inodes matching the path. Insert found inodes into a new dirfrag object, such that when the filesystem is brought back online, the files are visible once again. Metadata other than the filename will be lost: recreate the files owned by root.

Actions #1

Updated by John Spray almost 8 years ago

  • Status changed from New to Resolved

This is an old ticket describing one of the things that cephfs-data-scan does today

Actions

Also available in: Atom PDF