February 5th, 2009
In the last episode, I created a RAID5 group (with 2 disks, go figure..), with the intention of expanding in the future.
It’s a new month, so I grabbed another Seagate 1.5TB drive, popped it in the system, and fired it up. Grub (linux boot manager) reported an error 5 – “something isn’t right with the partitions”.
This was when I started wondering a bit about the SATA controller on this motherboard. The SATA ports are numbered, from top top bottom, SATA6, SATA5, SATA2, SATA3, SATA1. I’m surmising from the numbering that STAT4 is the eSATA port. When I installed this drive, I just put the cable in the next port, which turns out to be SATA2.
Rearranging the cables, I put the new drive on SATA3, and booted into Ubuntu. Noticed something a bit strange – the new disk wound up as /dev/sdb, not /dev/sdc as I expected, being on the SATA3 port.
Created partitions, just like /dev/sda – 225gb Vista, 2GB swap, 1175 for RAID.
Added the new partition to the array as a spare:
sudo mdadm --add /dev/md0 /dev/sdb3
Crossed the fingers, and made it active:
sudo mdadm --grow /dev/md0 --raid-devices=4
This kicked off the reshape process, which is currently running.
More to come when that’s done and I can expand the file system.