Project

General

Profile

Feature #46166

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

Added by Patrick Donnelly over 1 year ago. Updated 24 days ago.

Status:
Fix Under Review
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.

History

#1 Updated by Patrick Donnelly 11 months ago

  • Target version changed from v16.0.0 to v17.0.0

#2 Updated by Kotresh Hiremath Ravishankar 2 months ago

  • Assignee changed from Jos Collin to Kotresh Hiremath Ravishankar

#4 Updated by Kotresh Hiremath Ravishankar about 2 months ago

  • Status changed from New to In Progress

#5 Updated by Kotresh Hiremath Ravishankar about 1 month ago

  • Pull request ID set to 43618

#6 Updated by Kotresh Hiremath Ravishankar 24 days ago

  • Status changed from In Progress to Fix Under Review

Also available in: Atom PDF