SoftDUX,
Seems your hdb is "identified" as sda because it sit's behind you CDROM
(which is master on IDE 0 or pATA1 and CDROMs are scsi-fied in Linux anyway)
I don't think that's the reason, since the CDROM & HDD are both IDE type, and that shouln'd make a difference. This isn't a train-smash though, since I can identify them from the model numbers.
Two things are consistent:
...we are having missing/redundant sectors ... 2113 of them
... mdadm doesn't "see" the 3rd needed drive, most likely your 1st SATA
(which in turn allows no md2 device to be formed/autoassembled ... no "/" root to be found by the kernel)
Even though your partition tables seem correct (and Linux Software Raid is partition based)
we SHOULD know why you have (intentionally?) active/activated HPA (click)
on (only) one of the SATA drives and the remaining (?) ATA
To be honest with you, I don't know what HPA is, or how / where to configure it. I just purchase the equipment, put it together & install the software

If the BIOS has software RAID, I'd disable it, but that's it. Therere are 2 different types of drives in the machine though, SATA II & IDE. If you look at the info above, you'll see the following info
sda = ST3250820A - Which is IDE
sdb & sdc = ST3250410AS - which is SATA
SMART is enabled by default on this machine, so I don't know if that plays a role.
I'm in the BIOS right now, and this is what I see:
IDE Channel 0 Master [SAMSUNG CD-R/RW DRVI]
IDE Channel 0 Slave [ST3250820A]
IDE Channel 2 Master [ None ]
IDE Channel 2 Slave [ST3250820AS]
IDE Channel 3 Master [ None ]
IDE Channel 3 Slave [ST3250820AS]
The motherboard is a Gigabyte GA-G31MX-S2, with 4xSATA & 1xIDE (which give 1 drives) ports. The reason for the 1xIDE & 2xSATA's, is that it's going into a nother server with a mobo with only 2xSATA & 2XIDE (4 drives). The sad part is, I just just moved all my data from that server to this one, as I'm going to use the 80GB drives in that machine elsewhere. And the backup HDD is full, so I didn't have time yet to make a backup. I was going todo it just before the power failure struck the machine.
(2) md Autodetecting normally works ...
...mdadm is supposed to even catch when the disks not just completely changed names due to
a controller change, but change from hd* to sd* ... but just let us know what layout (order and naming) worked
when your md devices were operating fully (4 disks) and in degraded mode (1 pata 2 sata ?)
see above
(3)Do you remember the layout of your SATA/ATA md devices ?
(i.e. what was the result of)
cat /proc/mdstat
Personalities : [raid1] [raid5]
md2 : active raid5 sda2[0] sdd2[3] sdc2[2] sdb2[1]
1234567 blocks level 5, 256k chunk, algorithm 2 [4/4] [UUUU]
md1 : active raid1 sda1[0] sdd1[3] sdc1[2] sdb1[1]
12345 blocks [4/4] [UUUU]
Nope, sorry. But the hardware layout would help a bit?
(4) Exactly when did you see your RAID 5 conf printout: with the missing disk 1, o:1, dev:sda2
This is when I bootup the machine, and then it freezes with that last bit of info from the kernel. I had to type it out from the other monitor...
(5) Has that CDROM drive been always located on that cable and always been active ? (or do you power it off /remove it ?)
Yup, this is a 2U server case, with 2 drive bays at the back, where the 2x SATA HDD's are located, and 1x CD-ROM bay & 1xstiffy bay, where they IDE HDD is attached. Since both the CD-Rom & IDE HDD need to use the same IDE channel & cable, this is the only way. And to take out the CD-Rom is too much work, so I just left it in. I have plenty laying around.
(6) What drive did you ship to the factory? hdc? hdd?
The one I shipped back the the factory is another IDE drive, which wasn't part of the SME installation to begin with. I fried the motherboard before I even assembled this server. But it would go back into the machine. At this stage I'd be prepared to go and buy another drive if I have to. I just don't know if I need to get a SATA or IDE this time.
(7) Some problem is that mdadm in SME 7.x is really old ;-/ ... you could try and check what is found as "available" mdadm --detail --scan ... maybe try to use a new live Linux (knoppix, ubuntu) ... ( maybe UUID on one sata hd is 'gone')
Regards
Reinhold
I have a
SystemRescueCd which I used to SSH into the machine and get more info from it. It has a lot of tools on it which I could use, I just don't know what exactly todo though
[/quote]