Well, look what I found….

28Nov09

Whilst rumaging around a parts box, I found something nice, two IDE hardrives. One is a 6Gb Quantum Fireball, the other an 8Gb Seagate drive. Both are probably 5400Rpm. Anyway, seeing as I have Ubuntu 9.10 Karmic Koala Server installed on my testing server, I decided to throw them in.

Now, I had been messing around with RAID on this for a while, using 2^2Gb USB flash drives attached to a USB hub. Sadly, seeing as the Mobo and Hub are USB1.1, nothing could get them far over the 1Mb/s read time.

These harddrives on the other hand, can be connected through the relatively fast IDE ๐Ÿ˜‰ Ubuntu is already installed on an identical 6Gb Quantum Fireball, and I didn’t want to use its IDE channel for another drive. So, I unplugged the un-necessary CD-ROM drive, and plugged in the two harddrives. But alas, the BIOS did not want to play nice. It refused to detect the drives, meaning I had to put in their cylinder, sector and head values. I also had to change a value about “Emulate Secondary IDE Master/Slave to Harddrive”. The other option was Floptical. I kid you not ๐Ÿ™‚

Anyway, after all that, Ubuntu booted (though it hangs on GRUB for some reason), and BAM “sudo fdisk -l” showed me another 6Gb and an 8Gb drive ๐Ÿ™‚ I set to work with Mdadm using the command

mdadm --create /dev/md0 --verbose --level=0 --raid-devices=2 /dev/sdb1 /dev/sdc1

After that mdadm details showed

/dev/md0:
Version : 00.90
Creation Time : Sat Nov 28 19:25:33 2009
Raid Level : raid0
Array Size : 14932224 (14.24 GiB 15.29 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Sat Nov 28 19:25:33 2009
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Chunk Size : 64K
UUID : ec853ff5:f40b6c17:c5e66761:b1a0c6d0 (local to host karmic)
Events : 0.1
Number   Major   Minor   RaidDevice State
0       8       17        0      active sync   /dev/sdb1
1       8       33        1      active sync   /dev/sdc1
/dev/md0:        Version : 00.90  Creation Time : Sat Nov 28 19:25:33 2009     Raid Level : raid0     Array Size : 14932224 (14.24 GiB 15.29 GB)   Raid Devices : 2  Total Devices : 2Preferred Minor : 0    Persistence : Superblock is persistent
Update Time : Sat Nov 28 19:25:33 2009          State : clean Active Devices : 2Working Devices : 2 Failed Devices : 0  Spare Devices : 0
Chunk Size : 64K
UUID : ec853ff5:f40b6c17:c5e66761:b1a0c6d0 (local to host karmic)         Events : 0.1
Number   Major   Minor   RaidDevice State       0       8       17        0      active sync   /dev/sdb1       1       8       33        1      active sync   /dev/sdc1

An edited fstab, some chowning and chmoding later, and I had a working RAID0 array of 15.3Gb ๐Ÿ™‚ Add to that the fact that its speed is about 18Mb/s write speed, and for IDE, its not too bad.

I’ll post up some pictures of the server soon ๐Ÿ™‚




%d bloggers like this: