Re: rbd: incorrect metadata

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

 



On 04/14/2015 08:45 AM, Jason Dillaman wrote:
> The C++ librados API uses STL strings so it can properly handle embedded
> NULLs.  You can make a backup copy of rbd_children using 'rados cp'.
> However, if you don't care about the snapshots and you've already flattened
> the all the images, you could just delete the rbd_children object so that
> librbd no longer thinks any image is a child of another.
> 

Ah, well, I still had clones that I do care about. I was able to take care of it
with the C++ library. Thank you so much for your help.

Has anyone considered changed the C API to work with keys are {char buf,
length}? If the python API every gets omap support then you have 2/3 APIs which
are sort of incomplete. Another way might be to base64 encode the keys of
rbd_children or whenever nulls are needed.

Either way, thanks again!
Matt
_______________________________________________
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