Need help, software raid RH 7.3

smp

Diamond Member
Dec 6, 2000
5,215
0
76
I had a Maxtor and a WD in a mirror array.
I happened upon an identical maxtor and decided that now would be a good time to learn how to swap and rebuild drives.
I threw in the Maxtor, took out the WD

The machine booted up fine, but my dmesg looked like Md0 wasn't using both drives, just the one.
I tried to do a
raidhotadd /dev/md0 /dev/hdc1
raidhotadd /dev/md1 /dev/hdc2

The latter worked, or one would work but the other wouldn't "disk too small" (the disks are identical)
Anyways, I figured that maybe I should partition my drive to reflect the other drive.
I tried to do this, but the block size was always different .. I would print it here but I need to be at home.
Anyways, I was using fdisk .. is there a util I could use to just copy the partition table from one disk to the other?

I even tried dd .. I dd copied the entire drive over, bit by bit .. went to sleep, next day I came back and tried the raidhotadd stuff but it wasn't working so I figured, since I already have a mirror now (or should) that I could reboot and the raid business would sort itself out..
no .. naive in thinking this "kernel panic" .. "no init"
so I pulled the new drive and the machine boots fine.
I've been reading docs and stuff and i can't get this, anyone have any interesting tidbits of software raid info that they'd like to share with me regarding this problem? Much appreciated it woudl be, thsnks.