Mnesia, disk logging, and synchronous disk logging

Bengt Kleberg bengt.kleberg@REDACTED
Thu Jan 26 09:49:17 CET 2006


On 2006-01-25 22:54, Scott Lystig Fritchie wrote:
...deleted
> Even if your disk subsystem(*) has an NVRAM write-back cache, there is
> risk of data loss unless you explicitly the fsync(2) system call.

if you are running linux also remember this:

''The Linux fsync man page says:


"It does not necessarily ensure that the entry in the directory 
containing the file has also reached disk. For that an explicit fsync on 
the file descriptor of the directory is also needed."''

(http://archives.postgresql.org/pgsql-hackers/2004-10/msg01037.php)


bengt



More information about the erlang-questions mailing list