Update 2024-08-10-recovering-ceph-cluster.md

This commit is contained in:
0x3bb 2024-08-10 15:12:55 +00:00
parent 58b16e9500
commit 36684a4a2e

View File

@ -578,7 +578,7 @@ The monitor `osdmap` still contained the bad EC profile.
`ceph-monstore-tool /tmp/mon-bak get osdmap > osdmap.bad` `ceph-monstore-tool /tmp/mon-bak get osdmap > osdmap.bad`
osdmaptool --dump json osdmap.bad | grep -i profile `osdmaptool --dump json osdmap.bad | grep -i profile`
``` ```
"erasure_code_profiles":{ "erasure_code_profiles":{
@ -597,6 +597,8 @@ After rebuilding the monstore...
`ceph-monstore-tool /tmp/mon-a get osdmap > osdmap.good` `ceph-monstore-tool /tmp/mon-a get osdmap > osdmap.good`
`osdmaptool --dump json osdmap.good | grep -i profile`
``` ```
"erasure_code_profiles":{ "erasure_code_profiles":{
"ceph-objectstore.rgw.buckets.data_ecprofile":{ "ceph-objectstore.rgw.buckets.data_ecprofile":{
@ -611,7 +613,7 @@ After rebuilding the monstore...
``` ```
Therefore, it seems as if I could have attempted to rebuild the monstore first, Therefore, it seems as if I could have attempted to rebuild the monstore first,
possibly circumventing the `ECAssert` errors. The placement groups on `osd-0` were possibly circumventing the _EC Assert_ errors. The placement groups on `osd-0` were
still mapping to 3 OSDs, not 5. still mapping to 3 OSDs, not 5.
``` ```