[openstack-dev] [Cinder] About snapshot Rollback?

Erlon Cruz sombrafam at gmail.com
Mon Apr 4 18:49:39 UTC 2016


Hi Chen,

Not sure if I got you right but I brought this topic in #openstack-cinder
some days ago. The idea is to be able to rollback a snapshot in Cinder.
Today what is possible to do is to create a volume from a snapshot. From
the user point of view, this is not ideal, as there are several cases, if
not the majority of, that the purpose of the snapshot is to revert to a
desired state, and not keep the original volume. For some backends, keeping
the original volume means space consumption. This space problem becomes
bold when we think about consistency groups. For consistency groups, some
backends might have to copy an entire filesystem for each snapshot,
consuming space and time. So, I think it would be desired to have the
ability to revert snapshots.

I know there have been efforts in the past[1] to implement that, but for
some reason the work was stopped. If you want to retake the effort please
create a spec[2]  sol everybody can provide feedback.

Erlon


[1]
https://blueprints.launchpad.net/cinder/+spec/cinder-volume-rollback-snapshot
[2] https://github.com/openstack/cinder-specs

On Thu, Mar 24, 2016 at 6:09 AM, Chenzongliang <chenzongliang at huawei.com>
wrote:

> Hi all:
>
>     We are condering add a fucntion rollback_snapshot when we use backup.
> In the end user's scenario. If a vm fails, we hope that we can use snapshot
> to to recovery the volume's data.
>
>     Beacuse it can quickly recovery our vm. But if we use the remote data
> to recovery. We will spend more time.
>
>     But i'm not sure if the data was recoveried from the backend. whether
> the host need to rescan the volumes? At the same time. If a volume have
> been extended, whether it can be roolback?
>
>
>
>    I want to know whether the topic have been discussed or have other
> recommendations to us?
>
>
>
>    Thanks
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160404/6905089a/attachment.html>


More information about the OpenStack-dev mailing list