Re: Restore RBD image

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

 



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 <M.Roos@xxxxxxxxxxxxxxxxx> 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:martin.wittwer@xxxxxxxxxx]
> Sent: zondag 23 juli 2017 15:20
> To: ceph-users@xxxxxxxx
> Subject:  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
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



-- 
Jason
_______________________________________________
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