RE: Is Ceph recovery able to handle massive crash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If you know the prefix (which is seems you do) and the original size of the rbd you should be able to use my utility.

https://github.com/smmoore/ceph/blob/master/rbd_restore.sh

You will need all the rados files in the current working directory you execute the script from.  We have used it many times so far and works for us.  I have not had any outside feedback on it's usage.  But if you are truly missing any files, it will seek over them and your rbd might be corrupt.  Likewise if a file itself is damaged, it will write what is in that file to the rebuild.

HTH,
Shawn


-----Original Message-----
From: ceph-devel-owner@xxxxxxxxxxxxxxx [mailto:ceph-devel-owner@xxxxxxxxxxxxxxx] On Behalf Of Denis Fondras
Sent: Tuesday, January 08, 2013 7:57 AM
To: ceph-devel@xxxxxxxxxxxxxxx
Subject: Re: Is Ceph recovery able to handle massive crash

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 ?

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 ?

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

��.n��������+%������w��{.n����z��u���ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux