Ticket #597 (closed enhancement: fixed)

Opened 11 years ago

Last modified 2 years ago

Cannot take a snapshot when there is a Writethrough hard disk attached

Reported by: nvivo Owned by:
Priority: major Component: other
Version: VirtualBox 1.4.0 Keywords:
Cc: Guest type: other
Host type: other

Description (last modified by aeichner) (diff)

Trying to take a snapshot of a VM that has a disk in writethrough mode (even if you have other regular disks) causes the GUI to show an error:

Cannot take a snapshot when there is a Writethrough hard disk attached ('/path/to/disk.vdi').

Result Code: 
IMachine {31f7169f-14da-4c55-8cb6-a3665186e35e}
IConsole {1dea5c4b-0753-4193-b909-22330f64ec45}

This makes it hard to have a "system disk" that you want to snapshot and a "data disk" where you persist documents, settings and other stuff. The workaround today is to manually remove the disk from the VM using the settings window, take the snapshot, then re-add the disk. (And you must remember everytime you restore it).

In VMWare, using the "persistent disk" that is the writethrough equivalent, the behaviour is to take the snapshot of regular disks and ignore the persistent ones.

So, VBoxManage could have a similar behaviour, and maybe show a simple message like this when taking/restoring snapshots:

The following disks are beign ignored because they are in writethrough mode:


Change History

comment:1 Changed 10 years ago by kproth

I was going to write this up as well, so consider this a Me Too. For me, I prefer to setup my Windows Paging File (in the Guest OS) on a separate WriteThrough VDI file. There's no need to include this in snapshots for me, since Windows doesn't really care what's in that file after it shuts down. But having to remove and re-add that pagefile disk is a real drag.

comment:2 Changed 10 years ago by flszen

Yes, this is a very nice feature that hasn't been implemented yet. See enhancement 2502 defect 2578 also. 2578 refers to the documentation that suggests the use of writethrough disks to exclude them from snapshots.

comment:3 Changed 2 years ago by aeichner

  • Status changed from new to closed
  • Resolution set to fixed
  • Description modified (diff)

Was probably fixed long ago, works for me.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use