This site is now 100% read-only, and retired.

XML logo

madam raid1 help
Posted by Grimnar on Tue 16 Sep 2008 at 20:21
Tags: ,
Ok. So I bought my self a raid controller. I'm not quite sure if it's hw or sw controller but this is what lspci tells me;
02:00.0 RAID bus controller: Silicon Image, Inc. SiI 3512 [SATALink/SATARaid] Serial ATA Controller (rev 01)

Anyways. I've got 2 disk connected /dev/sdb(1) and /dev/sdc(1) and currently I have ext3 fs on them. Last time I booted I did play with some settings during boot, but I'm not really sure it that really is working.

But the thing I'm really interested in, is to how do I use the mdadm command to build a raid 1 array. The disks are meant to be one huge partition, not divided up into small partitions. (so the howtos on this site really got me confused).

So to sum it up. How do I make /dev/sdb1 and /dev/sdc1 into /dev/md0? (?) and do I need some sort of swap on the disks?

I'm scared and confused with this raid stuff!:)

(Some of you might have seen some post on other forums by me regarding this issue)

Edit: google says this controller is software based.


Comments on this Entry

Re: madam raid1 help
Posted by burke3gd (88.112.xx.xx) on Tue 16 Sep 2008 at 20:55
As far as I know most software RAID controllers are not supported by Linux and if you're going to use Linux software RAID you won't need the controller card.

When I had to set up my RAID 1 array I found these documents helpful:

When one of my drives failed (the system kept running btw) this document helped me to rebuild the array:

If you're going to be booting from the RAID 1 array, remember to install GRUB on both drives and to configure GRUB to fall back to the other drive when booting up after a drive has failed.

[ Parent ]

Re: madam raid1 help
Posted by Grimnar (85.221.xx.xx) on Wed 17 Sep 2008 at 14:05
[ View Weblogs ]
Thanks a lot for the feedback. I need the controller for adding sata-disks to my already over crowed PATA-system. So this is only a small step in migrating to SATA-system.

But I got it all somewhat working using mdadm. There are only some few things left for me to figure out. Im running munin, and I'm hoping there is some kind of addon that allows me to check the raid setup. But this is just good fun to figure out. Thanks again for the links.

[ Parent ]

Re: madam raid1 help
Posted by Grimnar (85.221.xx.xx) on Tue 16 Sep 2008 at 20:56
[ View Weblogs ]
I'm on a little adventure her now and actually figuring out some stuff my self. Found this site and just changed the disks to my likings. Hopefully this will work!:D

[ Parent ]