lkml.org 
[lkml]   [2001]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.4.10 and dd
Klaus Dittrich wrote:

> I do my backup using dd if=/dev/sda of=/dev/sdb bs=1024k.

ehh, isn't that kind of dangerous???

What if files move around on disk while dd is running? imagine that dd is in the process of copying blocks belonging to a big file "foo",
and now in the middle of this something causes "foo" (or just parts of "foo") to move to a different location - you now have a seriously screwed
copy of "foo" on the new disk...

I'd expect that all sorts of strange corruption of the copy could happen that way. I could be wrong, and maybe someone who knows more about
how the filesystems work can tell if I am, but I know for sure that I would never dare to do backups that way.

Best regards,
Jesper Juhl
juhl@eisenstein.dk



-
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/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.043 / U:2.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site