I have two 40GB hard drives using RAID under Red Hat 7.3. Recently one of the drives failed and I have put in an unpartitioned identical replacement. I have tried "raidhotadd" and it looks like it will move the data over to new drive. There is one catch. It looks like I need to partition the new drive identically to the old before "raidhotadd" will work correctly for all the partitions of the old drive. I tried fdisk, and due to my inexperience, couldn't get it partioned correctly.
How can I get my data from the existing disk to the new one?