Link to home
Start Free TrialLog in
Avatar of waltforbes
waltforbesFlag for Bahamas

asked on

VMware Snapshots and Storage Use

Points of My Scenario:
1. I am vSphere and Windows update admin for 100+ Windows virtual machines.
2. I need VMware snapshots as a roll-back plan for VMs that fail from software updates.
3. I must ensure adequate free space on data stores to handle snapshots.
4. Snapshots will include virtual memory.
QUESTION:
Is the storage used equal to VM size at point of snapshot PLUS changes due to software updates?
Avatar of Casey Weaver
Casey Weaver
Flag of United States of America image

Snapshot size is equal to 0+RAM. The snapshot typically starts at 100MB and continues to rapidly grow with each disk block change. So if you have each VM at 4GB of RAM, you could round and say that after updates (depending on how much you're updating) you could be looking at 500-600GB of storage usage for 100 VM's to be updated via snapshots. Obviously, RAM allocation will make this figure grow much larger much faster!
Avatar of waltforbes

ASKER

To Heymrdj:
You state that "snapshot size equal to zero+RAM" - does this mean that initially, only the contents of RAM is copied to disk when snapshot is taken?
Correct. There is about 100MB or so given to the log start, but other than that, at initialization (and quiescence of the OS for the snapshot) the log is "zero" plus the active RAM state. If you snapshot when the OS is off your snapshot will be minimal. But every block change afterwards is added to that log, hence how quickly it grows.

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1025279
To Heymrdj:
Did you imply the following: if I snapshot a VM that is off, the snapshot will be minimal (for log start)...BUT... as soon as I power up the OS, the snapshot grows to the size of the RAM. Correct?
Correct. That is if you set your snapshots to do RAM as well. For the most part it targets the filesystem, which obviously RAM is filled via the file system, but yes it gets RAM as well if it is configured as so (in my experience that is by default).
To Heymrdj:
Final question: what is/are the caveat(s) to snapshot a VM without the RAM?
ASKER CERTIFIED SOLUTION
Avatar of Casey Weaver
Casey Weaver
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
HeyMrDJ: you have tremendously enhanced my understanding of snapshots! My decision-making is much clearer and confident. I am so appreciative. Thank you ever so much!