Ed Willis wrote:
> Tried to upgrade to 2.2pre7. Stupidly thought that this kernel supported
> Raid 0 partitions without patching. Ended up nuking my whole Linux
> installation. Here's how I had the system set up:
I'm confused about this. I'm running 2.2pre8 without any patches
(except that I changed MAX_MD_DEV from 4 to 16 - 4 is a silly default)
and I now have raid-0 and raid-1 working fine (with the 0.50 raidtools
package that ships with RH 5.2). At least, I can mke2fs raid-0 and -1
devices and run Bonnie on them with no problems.
Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU
vanilla 900 5713 78.5 14322 24.9 4991 16.2 7326 90.9 14308 20.4 87.8 2.9
raid0.5 900 6924 96.2 42718 80.2 13665 47.5 7079 88.2 35947 54.2 215.1 7.7
raid0.3 900 6756 93.9 31707 60.6 7652 25.6 4909 61.2 17822 25.3 179.0 7.4
raid1.2 900 5629 79.6 12612 23.6 4880 17.6 4777 60.3 12736 20.1 98.4 4.1
raid1.2c 900 5615 79.2 12063 22.9 4821 17.9 4667 58.8 12654 20.2 106.9 4.7
(Where raid0.5 = raid-0 on five drives. All drives are Seagate
Barracudas, spread over two SCSI controllers.)
I'm having problems with raid-5, however. My first attempt failed
running mke2fs, with a "Killed" appearing half way through. Next
attempt (with a different setup) the mke2fs worked and the device
mounted fine, but when I run Bonnie it quits with a "Killed" error. I
presume that error is coming from the kernel md driver, so it looks
like a raid problem.
[root@tekelili]# Bonnie -s 900 -m raid5.5 -d .
File './Bonnie.1149', size: 943718400
Writing with putc()...done
Rewriting...done
Writing intelligently...Killed
It would be really good if raid worked without patches in 2.2.0...
Danny.