public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* badblocks, sector/bit copies and other musings
@ 2002-04-08 13:19 Noah White
  2002-04-09  8:41 ` Helge Hafting
  0 siblings, 1 reply; 3+ messages in thread
From: Noah White @ 2002-04-08 13:19 UTC (permalink / raw)
  To: linux-kernel


Greetings,

I had some general questions regarding how the kernel/fs handle bad blocks
and such and how that relates to various copying techniques such as Norton
Ghost, hardware disk duplicators (the old octopus's) and such.

Specifically, I'm curious as to how the following situation is handled. If I
have:

drive A which is say a 30 GB IDE drive which I've built in a standard
fashion with the 2.2.12-20 kernel and created two ext-2 partitions and one
swap partition

drive b which is also the same model 30 GB IDE drive which is empty and has
no file system on it OR has a windows file system (FAT or NTFS) 

Now in the case of copying drive A onto drive B using a sector or bit copy
technique and I:

1) Use Ghost with sector copy mode OR
2) Use a hardware harness which does a straight bit copy of the drive (and
is non-file system aware)

How will the bad blocks be mapped? From the file system perspective will
drive B think its bad blocks are the same as drive A thus setting drive B up
for possible errors because its bad block mappings are incorrect?

This leads to my ultimate question which is what is the safest and fastest
way to dup a linux/ext-2 drive? 

Thanks in advance,

-Noah


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

end of thread, other threads:[~2002-04-16 16:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-08 13:19 badblocks, sector/bit copies and other musings Noah White
2002-04-09  8:41 ` Helge Hafting
2002-04-16 16:09   ` Hans-Peter Jansen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox