[ale] Software RAID1 rebuild after HDD failure (How to do?)

Jim Popovitch jimpop at yahoo.com
Sat Jul 1 02:12:42 EDT 2006


Ryan Fish wrote:
> Now I'm lost on what and/or when to format/not format.  If I build the
> partitions and let either raidhotadd or mdadm reassemble the array wouldn't
> formatting blow away all of the information that was just put in place on
> the new HDD?  I must be missing something here...

Correct. Do NOT re-format the partition(s).  Just partition the new 
drive with fdisk (fdisk /dev/hdd or fdisk /dev/hdc) and then raidhotadd 
each new partition to the correct /dev/mdX where mdX will be "md" and a 
number that corresponds to entries in /etc/raidtab.  Again, make sure 
you set the partition type to "fd" (auto raid detect) when using fdisk.

-Jim P.



More information about the Ale mailing list