<div dir="ltr">Hi Chen,<div><br></div><div>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.</div><div><br></div><div>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. </div><div><br></div><div>Erlon</div><div><br></div><div><br></div><div>[1] <a href="https://blueprints.launchpad.net/cinder/+spec/cinder-volume-rollback-snapshot">https://blueprints.launchpad.net/cinder/+spec/cinder-volume-rollback-snapshot</a><br></div><div>[2] <a href="https://github.com/openstack/cinder-specs">https://github.com/openstack/cinder-specs</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 24, 2016 at 6:09 AM, Chenzongliang <span dir="ltr"><<a href="mailto:chenzongliang@huawei.com" target="_blank">chenzongliang@huawei.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="ZH-CN" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal"><span lang="EN-US">Hi all:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">    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.  <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">    Beacuse it can quickly recovery our vm. But if we use the remote data to recovery. We will spend more time.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">    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?
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">    <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">   I want to know whether the topic have been discussed or have other recommendations to us?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">    <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">   Thanks<u></u><u></u></span></p>
</div>
</div>

<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>