newbie - mdadm create raid1 mirrors on large drives

From: Larry Bates
Date: Sat Dec 03 2005 - 13:16:35 EST


I hope this is the correct list for this question.

I've just recently begun using mdadm to set up some
arrays using large drives (300-400Gb). One of the
things I don't understand is this: when you first
create a raid1 (mirrored) array from two drives
mdadm insists on mirroring the contents of the first
drive to the second even though the drives are
entirely blank (e.g. new drives don't have anything
on them). In one configuration I have, this takes
about 16 hours on a 400Gb drive. When I do 5 of them
simultaneously this takes 2+ days to complete. Is
there some way to tell mdadm that you want to create
a mirrored set but skip this rather long initial
mirroring process? I don't really see that it actually
accomplishes anything.

Thanks in advance for your assistance.

-Larry Bates


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