Data Corruption with Dump

Ganajyoti Bhattacherjee (bgana@cmie.com)
Mon, 20 May 2002 17:10:23 +0530 (IST)


I just happenned to read Linus'opinion on using dump for backup (in a
mail
from him to linux-kernel mailing list on 27 Apr 2001). He wrote

-------------------------------------------------------------------------
"...Note that dump simply won't work reliably at all even in 2.4.x: the
buffer cache and the page cache (where all the actual data is) are not
coherent. This is only going to get even worse in 2.5.x, when the
directories are moved into the page cache as well.

So anybody who depends on "dump" getting backups right is already playing
russian rulette with their backups. It's not at all guaranteed to get the
right results - you may end up having stale data in the buffer cache that
ends up being "backed up"......"
---------------------------------------------------------------------------

But is the above true even in case of taking "dump" of an unmounted
filesystem.
I am using SuSE 7.3 (kernel-2.4.18-SMP).

Thanx

--Gana
(G. Bhattacherjee)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/