[sheepdog] deleting vdi image not deleting snapshots

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Tue Oct 16 09:00:00 CEST 2012


At Tue, 16 Oct 2012 08:43:43 +0200 (CEST),
Alexandre DERUMIER wrote:
> 
> >>Currently, we need to specify '-s' option to delete snapshots. I 
> >>think deleting snapshots by default is not good since users may want 
> >>to keep them for creating other cloned images. 
> 
> Is the snapshot usable without the main image ? 

Yes.

> does the snapshot not handle only the delta of new writes ?)

Sheepdog doesn't reclaim objects until all snapshots are deleted, so
all data are still accessible even after deleting main image.
Currently, I'm implementing a better object reclaim support based on
reference counting, which also enables us to access the snapshot data
after deleting main image.

Thanks,

Kazutaka



More information about the sheepdog mailing list