Project

General

Profile

Actions

Feature #46166

closed

mds: store symlink target as xattr in data pool inode for disaster recovery

Added by Patrick Donnelly almost 4 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Category:
fsck/damage handling
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
MDS
Labels (FS):
scrub
Pull request ID:

Description

Currently, the MDS only stores the symlink inode's backtrace information in the data pool. During disaster recovery of the metadata pool, e.g. by:

https://docs.ceph.com/docs/luminous/cephfs/disaster-recovery/#using-an-alternate-metadata-pool-for-recovery

The symlinks are recreated as regular files. Store the symlink target in the inode for recovery.

Also, fix cephfs-data-scan to restore symlinks using this information.

Actions #1

Updated by Patrick Donnelly over 3 years ago

  • Target version changed from v16.0.0 to v17.0.0
Actions #2

Updated by Kotresh Hiremath Ravishankar over 2 years ago

  • Assignee changed from Jos Collin to Kotresh Hiremath Ravishankar
Actions #4

Updated by Kotresh Hiremath Ravishankar over 2 years ago

  • Status changed from New to In Progress
Actions #5

Updated by Kotresh Hiremath Ravishankar over 2 years ago

  • Pull request ID set to 43618
Actions #6

Updated by Kotresh Hiremath Ravishankar over 2 years ago

  • Status changed from In Progress to Fix Under Review
Actions #7

Updated by Venky Shankar over 2 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF