All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: 2.4.10 and dd
  2001-09-27 20:02 2.4.10 and dd Klaus Dittrich
@ 2001-09-26 16:46 ` Jesper Juhl
  0 siblings, 0 replies; 2+ messages in thread
From: Jesper Juhl @ 2001-09-26 16:46 UTC (permalink / raw)
  To: Klaus Dittrich; +Cc: linux-kernel, klaus

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* 2.4.10 and dd
@ 2001-09-27 20:02 Klaus Dittrich
  2001-09-26 16:46 ` Jesper Juhl
  0 siblings, 1 reply; 2+ messages in thread
From: Klaus Dittrich @ 2001-09-27 20:02 UTC (permalink / raw)
  To: linux-kernel; +Cc: klaus

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

With 2.4.10 this does not work anymore.

An fsck of the filesystem (ext2) of /dev/sdb3 (~8GB) is impossible
because of too much errors.
 
System: SMP, 2 x PIII-800, BX-Chipset, 1 GB RAM, glibc-2.2.4

-- 
Best regards
Klaus Dittrich

e-mail: kladit@t-online.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-09-27 20:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-27 20:02 2.4.10 and dd Klaus Dittrich
2001-09-26 16:46 ` Jesper Juhl

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.