Problem:
A customer with Windows 7 VMs in their VMview environment is seeing a lot of disk space consumed by hypernate files. The VMview Manager, vSphere, and ESX can manage the power, memory, and disk images for each VM. As a result, it is redundant and even counter-productive to allow the Windows OS perform power management for themselves when running as a Virtual Machine.
Solution:
- Click Start, and then type cmd in the Start Search box.
- In the search results list, right-click Command Prompt, and then click Run as Administrator.
- When you are prompted by User Account Control, click Continue.
- At the command prompt, type powercfg.exe /hibernate off, and then press ENTER.
- Type exit and then press ENTER to close the Command Prompt window.
Result:
Eliminated 3.1GB of disk usage from each Windows 7 VM in the customer’s VMview environment. This setting achieved a savings of approximately 7TB of Enterprise SAN.
to disable hibernate (aka safe sleep) in Mac OS X, use these terminal commands:
* disable safe sleep mode: sudo pmset hibernatemode 0
* remove the sleep image file: sudo rm -rf /var/vm/sleepimage
LikeLike