Prevent Data Loss with FlushVol When Windows Crashes
March 17, 2010 | Filed under Software;
Data loss or corruption can occur when Windows is shut down inappropriately. This is because when a file is opened and loaded in memory, Windows does not immediately updates the file on your hard drive when you make changes on the program. For example, a word document is open and when you add some words in it, the words that you entered is not immediately saved to the word document. When a crash happens during that time, it is either the word is lost or the file gets corrupted.
Windows does not guarantee any time interval after that ALL data will be written to disks. Some data are written within 10-20 seconds but other data may leave non-synchronized within minutes or even more. To solve this problem, you can use a tool called FlushVol to either volume file buffer one time or automatically.
FlushVol is only 12KB in size and when loaded in memory it takes only 400+KB. FlushVol flushes the volume when you run it (a block screen appears and closes immediately) but to keep it running all the time and flushing the volume every X amount of seconds, you can run it with the command flushvol -i which installs flushvol as a service. To configure how frequent flushvol flushes the volume, open flushvol.ini and set the interval in seconds. To uninstall FlushVol, use the command flushvol -r.
There are some side effects in using FlushVol though. When data flush occurs after a massive file processing, you may experience momentarily “freeze” of your system. It is normal because a large amount of data is written synchronously. Also you may experience a burst disk operations during regular ones. It is normal too. Making these small inconveniences, periodical volume flushing significantly improves your data integrity.