Re: RBD images -- parent snapshot missing (help!)

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

 



Thanks!


I'll give it a try, and report back my findings.

Br,
Tuomas


-----Original Message-----
From: Pavel V. Kaygorodov [mailto:pasha@xxxxxxxxx] 
Sent: 16. toukokuuta 2015 13:51
To: Tuomas Juntunen
Cc: Jason Dillaman; ceph-users
Subject: Re:  RBD images -- parent snapshot missing (help!)

Hi!

The program is in attachment.

WARNING: USE IN AT YOUR OWN RISK, NO WARRANTIES ARE PROVIDED!!!
IT MAY CORRUPT YOUR DATA!!!

You need to install rados-dev and compile the program with:

gcc ./upd_parent.c -o upd_parent -lrados

To change ID of parent image pool you need to run it with following
arguments:

 ./upd_parent <old_wrong_pool_id> <new_correct_pool_id> <image_pool_name>
<image_name>

for example (lost pool was 13, new pool is 20, image pool name is
"volumes"):

 ./upd_parent 13 20 volumes volume-c083800d-7688-4fb8-9230-83643cbe8927

Hope, it will helps.
I recommend you to try to mount fixed image read-only, copy all important
data (if possible) and only after that try to boot it or run fsck.

Pavel.


_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux