robv73
asked on
Disable write cache on ESX 2.5 virtual machine
I have a virtual machine (W2K3 SP2 + SQL server) running on an ESX 2.54 host. I want to disable the write cache on the disk which contains the SQL database.
The option which I normally use in the Windows OS is set to "Optimize for performance" and is grayed out to prevent change.
How can I disable the write cache.
Any help is very much appriciated!
Rob
The option which I normally use in the Windows OS is set to "Optimize for performance" and is grayed out to prevent change.
How can I disable the write cache.
Any help is very much appriciated!
Rob
ASKER
I added this line to the VM config (vmx) file and restarted the VM.
But when I check the "Policies" tab of the disk properties. The option is still set to "Optimize for performance"......which should mean: write cache enabled...
Is this ok?!
But when I check the "Policies" tab of the disk properties. The option is still set to "Optimize for performance"......which should mean: write cache enabled...
Is this ok?!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for your quick response / help !
If you want to disable it inside the guest, you need to modify your .vmx file and probably reboot the guest too:
diskLib.dataCacheMaxSize = "0"