Windows Server 2012 R2 disk caching

U

UdyantKapoor

Hi

We are currently evaluating Windows Server 2012 R2 for one of our products and have run into a disk caching issue that we would like to resolve.

Basically we do the following test;

  • Create a text file using notepad add some text, save and close the file.
  • Immediately re-open the text file and confirm the text is present in the file.
  • Within 2 seconds of opening the file pull the power from the server.

The expected behaviour is that the when the machine powers back up the text file contains the text we added.What we are seeing is that the text is not in the file.

We are doing this test because we are concerned about SQL server not flushing to disk before the server looses power. We did do this test on the DB as well by just modifying a row in the DB and the modification did not survive the power failure.

However this test passed when we were using Windows Server 2003 and Ubuntu 12.04. It appears Windows Server 2012 R2 is doing some caching along the way which is causing this issue. Does anyone know how to turn off this caching?

We have disabled the write cache in Windows Server 2012 and disabled the Battery Backed up cache on the server with write through enabled and are still experienced the same problem.

Any Ideas how we disable this write caching?

Thanks

Continue reading...
 
Back
Top Bottom