Got it. Thanks.<div><br></div><div>Wenhao<br><br><div class="gmail_quote">On Mon, Mar 11, 2013 at 3:12 PM, MORITA Kazutaka <span dir="ltr"><<a href="mailto:morita.kazutaka@lab.ntt.co.jp" target="_blank">morita.kazutaka@lab.ntt.co.jp</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">At Fri, 8 Mar 2013 10:37:26 +0800,<br>
<div><div class="h5">Wenhao Xu wrote:<br>
><br>
> On Fri, Mar 8, 2013 at 2:23 AM, MORITA Kazutaka<br>
> <<a href="mailto:morita.kazutaka@gmail.com">morita.kazutaka@gmail.com</a>>wrote:<br>
><br>
> > At Fri, 8 Mar 2013 00:04:00 +0800,<br>
> > Wenhao Xu wrote:<br>
> > ><br>
> > > On Fri, Mar 8, 2013 at 12:01 AM, MORITA Kazutaka<br>
> > > <<a href="mailto:morita.kazutaka@gmail.com">morita.kazutaka@gmail.com</a>>wrote:<br>
> > ><br>
> > > > At Wed, 6 Mar 2013 21:57:56 +0800,<br>
> > > > Wenhao Xu wrote:<br>
> > > > ><br>
> > > > > $ collie vdi list<br>
> > > > > Name Id Size Used Shared Creation time VDI id<br>
> > > > Copies<br>
> > > > > Tag<br>
> > > > > s img1 1 2.0 GB 0.0 MB 0.0 MB 2013-03-06 21:39 9e028f<br>
> > 1<br>
> > > > > snap1<br>
> > > > > s img1 2 2.0 GB 0.0 MB 0.0 MB 2013-03-06 21:39 9e0290<br>
> > 1<br>
> > > > > snap2<br>
> > > > > img1 3 2.0 GB 0.0 MB 0.0 MB 2013-03-06 21:40 9e0291<br>
> > 1<br>
> > > > ><br>
> > > > ><br>
> > > > > $ collie vdi rollback -s 3 img1 #This step cause the problem, Am<br>
> > I<br>
> > > > > doing something wrong? If this is not allowed, collie should probably<br>
> > > > > prevent the command executing.<br>
> > > ><br>
> > > > Rolling to a non-snapshot VDI is not allowed. I'll fix collie so that<br>
> > > > it prevents it.<br>
> > > ><br>
> > > Cool. Then how do I go back to a non-snapshot VDI after rolling to a<br>
> > > previous snapshot? Is there any way to do it?<br>
> > > Thanks.<br>
> ><br>
> > The non-snapshot VDI is the one you are currently using, so it does<br>
> > not make sense to rollback it. In your case, the vdi with id 3 is the<br>
> > one marked with 'You are here' in the vdi tree output.<br>
> ><br>
> ><br>
> Oh , I just notice it. I think my question is will I lose the changes on a<br>
> VDI if I rollback to a previous snapshot without making a snapshot on it<br>
> first.<br>
><br>
> Say I am making changes on VDI 3. Then I rollback it to snapshot 1. Because<br>
> I don't snapshot the changes on VDI 3 yet before rollback happens, I will<br>
> lose all the changes, right? Or is there anyway to "redo" it?<br>
<br>
</div></div>The rollback operation discards all the changes from the previous<br>
snapshot and cannot be undone. Please take a snapshot before<br>
rollbacking if you don't want to lose any changes.<br>
<br>
Thanks,<br>
<br>
Kazutaka<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>~_~
</div>