Re: recover partially lost rbd

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

 



On 03/26/2014 02:26 PM, gustavo panizzo <gfa> wrote:
hello
     one of our OSD crashed, unfortunately it had a a unreplicated pool
(size = 1).
i want to recover as much as possible using raw files, i've tried using
this tool
https://raw.githubusercontent.com/smmoore/ceph/4eb806fdcc02632bf4ac60f302c4e1ee3bef6363/rbd_restore.sh
but i don't found any file rb.0.1938.f8e1ca65f7a.*


# rbd -p cinder-simple info volume-e1dbb182-24b1-4729-a398-e494fe037678
rbd image 'volume-e1dbb182-24b1-4729-a398-e494fe037678':
     size 300 GB in 76800 objects
     order 22 (4096 kB objects)
     block_name_prefix: rbd_data.1938f8e1ca65f7a
     format: 2
     features: layering

i beth on disk structure has changed, can anybody shed some light on how
is it now? i'm using plain XFS ceph 0.72.2 (emperor)

That script refers to format 1 rbd image object names (rb.x.y.z.*).
Just use the block_name_prefix reported by rbd info instead, in this
case rbd_data.1938f8e1ca65f7a, and it should work fine.

Josh
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux