Skip to contentSkip to conversation

librbd: error finding header: (2) No such file or directory

DISCUSSION Simon Frerichs | Fremaks GmbH 2 participants 2 messages Dec 1, 2012 – Dec 3, 2012

lore
Share & tools
lore
#0 lore raw

Hi,

we war starting to see this error on some images:

-> rbd info kvm1207
error opening image kvm1207: (2) No such file or directory

2012-12-01 02:58:27.556677 7ffd50c60760 -1 librbd: error finding header: (2) No such file or directory

Anyway to fix these images?

Best regards,
Simon

#1 lore raw
Quoted 10 lines · Simon Frerichs | Fremaks GmbH

Hi,

we war starting to see this error on some images:

-> rbd info kvm1207
error opening image kvm1207: (2) No such file or directory

2012-12-01 02:58:27.556677 7ffd50c60760 -1 librbd: error finding header:

(2) No such file or directory

Anyway to fix these images?

If you can figure out which block prefix the images used, you can reconstruct the header enough to make the image accessible again.

Check out this thread:

http://comments.gmane.org/gmane.comp.file-systems.ceph.devel/7775

Do you know how the header object became missing? Did you have any issues with your cluster, or scrub errors? If you're mysteriously missing these header objects, other objects storing the data for the image might be missing as well, which could cause strange errors later.

Josh