[clue-tech] props to whoever wrote the RAID1 md code in the kernel

Angelo Bertolli angelo.bertolli at gmail.com
Thu Apr 16 17:49:31 MDT 2009


Jim Ockers wrote:
> So the moral of the story is, Linux software RAID-1 mirroring appears to
> be a simple copy of the blocks of data between the devices, so you can
> access your data on either drive without necessarily starting the RAID
> array.  I'm sure there are some drawbacks to this design (such as long
> resync times in the absence of block checksums or something) but it's 
> clear to me that there are some advantages too.
>   
I thought all RAID1 was pretty much this way.  You can mess things up 
though if you boot in something like Knoppix and it mounts one of the 
drives as a normal drive, and edit a file.

It sounded like you partitioned an md device?  Is that true?  I noticed 
that there was some sort of support for that, but traditionally, I think 
it's been best to create your partitions first.  Usually I create 
partitions on one drive, use sfdisk to replicate to the other drive, and 
set all the partitions as Linux RAID (or whatever the partition type 
is--not sure it matters).  So yes, I end up setting up a separate RAID 
for each partition.

Do you think your initial problem was because something weird happened 
on your USB interface?

Angelo



More information about the clue-tech mailing list