Ceph status shows HEALTH_ERR with MDSs report damaged metadata
Issue
When checking Ceph Status ( ceph -s
), cluster health is listed as HEALTH_ERR, with the following line listed:
1 MDSs report damaged metadata
Check of the output of the damage ls
command shows similar to the following:
# ceph tell mds.$filesystem:0 damage ls
[
{
"damage_type": "backtrace",
"id": 2091078454,
"ino": 1,
"path": ""
}
]
Where: $filesystem
is the name of the CephFS filesystem which has the damaged metadata
. This is not the hostname of the MDS.
vvv ATTENTION vvv
Before applying this fix...
Please confirm that:
- the
"damage_type"
is listed as"backtrace"
. - the
"ino"
value is 1, which indicates that the damaged metadata corresponds to the root of the filesystem.
^^^ ATTENTION ^^^
Environment
Red Hat Ceph Storage 3.x and 4.x with CephFS
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.