VBOX modifies base VDI file after snapshot is made ???

This is for discussing general topics about how to use VirtualBox.
Post Reply
froff
Posts: 9
Joined: 10. Aug 2011, 13:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: windows xp, windows7

VBOX modifies base VDI file after snapshot is made ???

Post by froff »

hello
I had a plan to use VM with big base VDI file frozen as snapshot and a small incremental one. Such configuration reduces incremental backup size because main big VDI remains unchanged.
But I noticed that modification date in base VDI changes! So my strategy seems to be useless. Base VDI changes even if there is more independent "branches" from it. If there are more
snapshots in sequence (for example base snapshot -> snapshot 1 -> snapshot 2 ->current) all VDI-s on the patch changes when machine is turned on.
Is it normal? Is it any way to solve this problem?
Today I'm going to compare two versions of snapshot modified in this way and maybe block write permission to snapshot VDI in order to check if those changes are meaningful.
Any other suggestions?

========================
new information:
After some investigation I recognized that starting VM does not cause modification of snapshot files. Modification dates of all snapshot VDI files changes only when last (current) VDI is compacted.
Fortunately it seems that only date is changing and file remains exactly the same - I'm not sure if it is true in all situations but probably yes.
Last edited by froff on 3. Sep 2012, 15:45, edited 1 time in total.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: VBOX modifies base VDI file after snapshot is made ???

Post by mpack »

The base VDI is frozen, but not write protected. It will remain unmodified in all important respects unless you apply a tool directly to it (e.g. VBoxManage). If you are saying that something else happens then you need to be explicit about your evidence.
Post Reply