nospam312 wrote:

> I have the following layout in VB
> 
> - desc1
>   - desc2
>     - current state
> 
> I have the following directory structure:
> 
> c:\template\1.vdi (2.5GB)
> c:\template\snapshots\2.vdi (1GB)
> c:\tempates\snapshots\3.vdi (32K)
> 
> I want to combine to a single VDI so I can clone the image.
> 
> If I right click on current state and select Discard Current Snapshot
> and State the machine churns away obviously merging something.   The
> Discard Current Snapshot and State is not an option anymore so I can't
> select it again.

1) Why do you want to do Discard Current Snapshot and *State* if you 
want to preserve the current state?

2) What do you mean by "not an option"? It's always an option as long as 
you have at least one snapshot.

> Is the merged.vdi saved somewhere and I need to include it in Disk
> Manager and I can ignore 1.vdi, 2.vdi and 3.vdi?

No, it's not necessary. As I said, all necessary hard disk manipulations 
are done implicitly. If I understand you correctly and you want to turn 
the  VDI of the VM in its current state into a single VDI (that you are 
going to clone afterwards), and you want to preserve all changes and get 
rid of all snapshots, you simply need to:

1. Select snapshot "desc2" and do "Discard Snapshot" from the context menu.
2. Select snapshot "desc1" and do "Discard Snapshot" from the context menu.

When these two steps are done, 1.vdi (if it's the base image) will 
contain all changes from 2.vdi and 3.vdi (which are differencing 
images). Both differencing images will be automatically deleted on success.

If you are concerned about the merging details. Step 1 will merge 2.vdi 
to 3.vdi. Step 2 (deleting the first snapshot) will merge 3.vdi to 1.vdi 
and delete 3.vdi on success. Isn't it what you need?

--
keep cool,
Dmitry A. Kuminov

_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to