Hi there,

Thanks for the answer!

I taught that there is someting strange during the resize operation
because it took to long but normaly it's instant. The logs doesn't
contain anything about the bug.

A few hours later I tried to set the size to 100G again but all files
were lost.

I had to restore everything from an old backup and my brain.

Best,
Martin


Am 24.07.2017 um 16:25 schrieb Jason Dillaman:
> Increasing the size of an image only issues a single write to update
> the image size metadata in the image header. That operation is atomic
> and really shouldn't be able to do what you are saying.  Regardless,
> since this is a grow operation, just re-run the resize to update the
> metadata again.
>
> On Mon, Jul 24, 2017 at 8:31 AM, Marc Roos <[email protected]> wrote:
>>
>> I would recommend logging into the host and running your commands from a
>> screen session, so they keep running.
>>
>>
>> -----Original Message-----
>> From: Martin Wittwer [mailto:[email protected]]
>> Sent: zondag 23 juli 2017 15:20
>> To: [email protected]
>> Subject: [ceph-users] Restore RBD image
>>
>> Hi list
>>
>> I have a big problem:
>>
>> I had to resize a RBD image from 100G to 150G. So I used  rbd resize
>> --size 150G volume01 to resize.
>>
>> Because of a bad internet connection I was cicked from the server a few
>> seconds after the start of the resize.
>>
>> Now the image has a size of only 205M!
>>
>>
>> I now need to restore the RBD image or at least the files which were on
>> it. Is there a way to restore them?
>>
>> Best,
>> Martin
>>
>>
>> _______________________________________________
>> ceph-users mailing list
>> [email protected]
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
>


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to