We are having issues with ensuring that object-map and fast-diff is working
correctly. Most of the time when there is an invalid fast-diff map, the flag is
set to correctly indicate this. We have a script that checks for this and
rebuilds object maps as required. If we don't fix these, snapshot removal and
rbd usage commands are too slow.
About 10% of the time when we issue an `rbd du` command we get the following
situation.
warning: fast-diff map is invalid for2d6b4502-f720-4c00-b4a4-8879e415f283 at 18-D-2018-07-11
<http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com>:1109. operation may be slow.
When we check the `rbd info` it doesn't have any flags set.
[INFO]
{"name":"2d6b4502-f720-4c00-b4a4-8879e415f283","size":536870912000,"objects":128000,"order":22,"object_size":4194304,"block_name_prefix":"rbd_data.17928643c9869","format":2,"features":["layering","exclusive-lock","object-map","fast-diff","deep-flatten"],"flags":[],"create_timestamp":"Sat
Apr 28 19:45:59 2018"}
[Feat] ["layering","exclusive-lock","object-map","fast-diff","deep-flatten"]
[Flag] []
Is there another way to detect invalid object maps?
Ceph 12.2.7 - All Bluestore
As long as I remember, when object-map is bad you will see this flag on
rbd info.
for e in `rbd ls replicated_rbd`; do echo "replicated_rbd/${e}"; rbd
info replicated_rbd/${e} | grep "flag"; done
k
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com