We have a server running Fedora 8 and Intel's Software RAID in a RAID 1 setup.
One of the disks failed on our server, so I replaced the bad drive and did a "dd if=/dev/sda of=/dev/sdb" to copy the good drive's data to the new drive.
After a reboot I was back up and running; no complaints from Fedora at all.
However, upon bootup the Intel Matrix BIOS still says that the RAID array is in a "Rebuild" state. I can't see anything wrong with the RAID array from within the OS, and the Intel BIOS-based tools don't have any options to rebuild the RAID array.
RAID Array Details
$ pvscan && vgscan && lvscan PV /dev/dm-2 VG VolGroup00 lvm2 [465.53 GB / 32.00 MB free] Total: 1 [465.53 GB] / in use: 1 [465.53 GB] / in no VG: 0 [0 ] Reading all physical volumes. This may take a while... Found volume group "VolGroup00" using metadata type lvm2 ACTIVE '/dev/VolGroup00/LogVol00' [463.56 GB] inherit ACTIVE '/dev/VolGroup00/LogVol01' [1.94 GB] inherit
Device Boot Start End Blocks Id System /dev/sda1 * 1 25 200781 83 Linux /dev/sda2 26 60800 488175187+ 8e Linux LVM Device Boot Start End Blocks Id System /dev/sdb1 * 1 25 200781 83 Linux /dev/sdb2 26 60800 488175187+ 8e Linux LVM Device Boot Start End Blocks Id System /dev/dm-0p1 * 1 25 200781 83 Linux /dev/dm-0p2 26 60800 488175187+ 8e Linux LVM
I originally tried the lvm tools when attempting to rebuild the array, but they didn't work for me as I don't have any /dev/md* partitions. Dmraid was no help either, so I fell back to the low-level approach and used dd instead.
I'm wondering if my low-level approach is the reason that the RAID array isn't seen by the Intel BIOS as being properly rebuilt.
- Yes, I do have an Amazon S3 backup of the important files on the server.