mds: store symlink target as xattr in data pool inode for disaster recovery
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:
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.
#3 Updated by Kotresh Hiremath Ravishankar over 2 years ago
The link in the description is broken. Here is the working link https://docs.ceph.com/en/latest/cephfs/disaster-recovery-experts/#using-an-alternate-metadata-pool-for-recovery