VMWare Server modifying files related to paused VMs, is this expected?
Posted
by David Spillett
on Server Fault
See other posts from Server Fault
or by David Spillett
Published on 2010-03-12T12:51:42Z
Indexed on
2010/03/12
12:57 UTC
Read the original article
Hit count: 231
While refreshing the backup of a VM used for testing, I experienced the following warning from tar
:
tar: /VMsR0/cli_noddyco_test/VM2K8_32_web.vmem: file changed as we read it
The VMs in question were paused at the time. My first though was that I'd mixed up the machines and was trying to backup something that was still actively running. To be sure I unpaused and properly shut down the VM, and the vmem files that tar reported changing vanished as I would expect.
Is it normal for VMWare Server to touch or alter files for paused VMs like this, or is there likely something amiss with our setup? If this is expected behaviour, is just touching the vmem file (and so altering the last modification date without actually changing content)? If it is normal for files relating to paused VMs to be updated I shall have to revise our backup procedures to make sure the VMs are fully shut down fully rather than just pausing them (this isn't a problem, but it seems strange and I'd prefer to understand what VMWare is doing and why instead of just dismissing it as "one of those things" and working around it).
For further detail: the host in question is VMWare Server version 2.0.2 running on 64-bit Debian/Lenny, and that VM did not have a snapshots at the time. We have backed up paused VMs this way in the past with no such warnings from tar
.
© Server Fault or respective owner