Sunday, July 16, 2006

Promise Raid at Linux

For two days now i have been tracking a problem on my new server. Grub was not able to read the updates debian at the menu.list. I was triing almost everything, but everytime i booted, the Menu from Grub did not change, until i found the Problem this night.

The Reason i had so much trouble was that the Promise (378) Raid Array was not recognized right by sarge. So every change i made was written to the second Disk, while the first Disk was the one i booted from...

After some research i found out that Promise has stopped supporting drivers for their controllers after kernel 2.4.22 (or so.) So the only good way is to create a linux software raid instead.

Took some time to get that information.

If you want to create a Raid 1 system with mdadm you can try that:
mdadm --create /dev/md0 --chunk=64 --level=raid1 --raid-devices=2 /dev/hda1 /dev/hdc1

Some times /dev/md0 is not there yet, so you can either add it manually or add --auto to the mdadm string and it will create it automatically.

No comments: