On 01/08/2013 01:57 PM, Denis Fondras wrote:
Hello, I'm wondering if I can get every "rb.0.8e10.3e2219d7.*" from the OSD drive and cat them together and get back a usable raw volume from which I could get back my data ?
Yes, that is doable. The problem only is that RBD is sparse. So you'd have to fill up the empty spaces with 4MB of zeroes.
But yes, it's doable if you gather all the objects and will the rest up with zeroes.
Everything seems to be there but I don't know the order of the rbd objects. Are the last bytes of the file name the offset of the block ?
There was a quick perl command for this to generate all the suffixes, but I can't seem to find it right now.
Wido
Regards, Denis -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
-- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html