Le 15/01/2021 à 16:29, Jason Dillaman a écrit :
On Fri, Jan 15, 2021 at 10:12 AM Rafael Diaz Maurin <Rafael.DiazMaurin@univ-rennes1.fr> wrote:
Le 15/01/2021 à 15:39, Jason Dillaman a écrit :
4. But the error is still here : 2021-01-15 09:33:58.775 7fa088e350c0 -1 librbd::DiffIterate: diff_object_map: failed to load object map rbd_object_map.781776950f8dd5.000000000000b740
You would need to rebuild the snapshot object map. First find the name of the snapshot associated with snapshot id b740 (46912) via "rbd snap ls <image-spec>", then run rebuild on that particule snapshot via "rbd object-map rebuild <image-spec>@<snap name>".
Unfortunately it did not work : I can't succeed in finding the broken snaphot.
I have parsed all the snaphots of all the images in a loop, where I get all the SNAPIDs.
But none of these IDs is 46912 ! " Please, can you tell me how did you get this number 46912 or a link which explain that ? You wouldn't need to search all images, it's tied to image "MY_IMAGE". Have you tried "rbd snap ls --all MY_IMAGE"?
Yes : now I got the broken snapshot with the --all flag. In fact this snapshot was in the namespace "trash" that's why I couldn't find it with "rbd snap ls" @list : the id b740 is hexadecimal, we need to convert it in decimal in order to get the id 46912 Thanks a lot for you answers and for the real good job done on Ceph ! Rafael