[sheepdog] collie snapshot rollback cause the image unusable/undeletable

MORITA Kazutaka morita.kazutaka at gmail.com
Thu Mar 7 19:23:15 CET 2013


At Fri, 8 Mar 2013 00:04:00 +0800,
Wenhao Xu wrote:
> 
> On Fri, Mar 8, 2013 at 12:01 AM, MORITA Kazutaka
> <morita.kazutaka at gmail.com>wrote:
> 
> > At Wed, 6 Mar 2013 21:57:56 +0800,
> > Wenhao Xu wrote:
> > >
> > > $ collie vdi list
> > >   Name        Id    Size    Used  Shared    Creation time   VDI id
> >  Copies
> > >  Tag
> > > s img1         1  2.0 GB  0.0 MB  0.0 MB 2013-03-06 21:39   9e028f     1
> > >       snap1
> > > s img1         2  2.0 GB  0.0 MB  0.0 MB 2013-03-06 21:39   9e0290     1
> > >       snap2
> > >   img1         3  2.0 GB  0.0 MB  0.0 MB 2013-03-06 21:40   9e0291     1
> > >
> > >
> > > $ collie vdi rollback -s 3 img1     #This step cause the problem, Am I
> > > doing something wrong? If this is not allowed, collie should probably
> > > prevent the command executing.
> >
> > Rolling to a non-snapshot VDI is not allowed.  I'll fix collie so that
> > it prevents it.
> >
> Cool. Then how do I go back to a non-snapshot VDI after rolling to a
> previous snapshot? Is there any way to do it?
> Thanks.

The non-snapshot VDI is the one you are currently using, so it does
not make sense to rollback it.  In your case, the vdi with id 3 is the
one marked with 'You are here' in the vdi tree output.

Thanks,

Kazutaka



More information about the sheepdog mailing list