[vbox-dev] is Merging cancellable?

Klaus Espenlaub klaus.espenlaub at oracle.com
Wed Oct 5 13:29:01 GMT 2011

On 05.10.2011 01:56, Huihong Luo wrote:
> wonder if the virtual disk files are still consistent if a merging task
> is stopped in between?
> During merge, does child disk gets updated when a portion is merged to
> base? if so, then the merge can stop at any time, and base/child would
> be still valid?
> or child is discarded as whole? thus merging task can not be cancelled?

Please note that merging and deleting a snapshot is not the same thing...

In any case, such operations are cancellable, and in the case of 
snapshot deletion the individual disks are processed one by one, and if 
the merging has been completed it is removed from the snapshot. Such a 
half-done snapshot deletion means that the snapshot has been partially 
destroyed and thus it shouldn't be used any more. The snapshots before 
and after (if applicable) will have exactly the same content.

Similar properties apply to an individual merge operation, but as 
there's no way for normal users to trigger this it's not very interesting.


More information about the vbox-dev mailing list