Topic: Raid arrays

up till now I have put off trying the new (unofficial) 9.04 #! being quite happy with the 8.10, but then I read that 9.04 now has support for dmraid and disk arrays being picked up during installation, which it does by the way, but doing an install of minimal and then adding the scripts for #! doesn't, so if anyone can help me to install either 8.10 or 9.04, preferably 8.10 until theres an official 9.04, or point me in the direction of a good how to in installing #!crunchbang on a raid setup, please, please do and I will be eternally grateful thanks.

Registered Linux user #488058  > Get counted at http://counter.li.org
---------------------------------------------------------------------------------------------------
--------------                Ignorance is Bliss              -----------------#!#!#!

Re: Raid arrays

Here's a pretty good step-by-step guide http://www.howtoforge.com/install-ubunt … re-raid-10 it's for raid ten but you should be able to modify it for your needs. The easiest way to do it in my opion is still the minimal install, you may just have to install mdadm (in the livecd)before you do the regular install, I don't think it's included by default.

I say never be complete, I say stop being perfect, I say lets evolve, let the chips fall where they may.

Re: Raid arrays

Hello OOmagoolies! I run under a fake raid 0 with two identical SATA 250go hard drives.
If you understand french, here is a good tutorial:

http://doc.ubuntu-fr.org/tutoriel/comme … 0_logiciel

I alway installed ubuntu CLI + RAID 0 since the 6.06 ( I'm now running ubuntu 9.04 64 bits + openbox).
You will have to adapt the method according your configuration and your wishes.

You must first deactivate any semi-hard-drive fake raid in your BIOS if necessary.
I hope you don't have crosoft installed too sad. So it will be more difficult to set-up your raid array.

Begin a CLI install. When asked for partitioning, choose "manual install".
If your hard drives are SATA, they will be called "sda"  "sdb" "sdc"...
If your hard drives are PATA, they will be called "hda"  "hdb" "hdc"...

The first partition on "sda" will be called "sda1", the second "sda2",...
It will be same with the others disks.

Here is how I proceed with my two 250go and another 500go (with all my personal datas).

You need at least three partition: "boot", "swap" and "/".

On "sda" I create a "boot" partition called "sda1" of 1go at the beginnig of the disk , formatted on "ext2".
This partition and only this must be bootable.
After I create another partition called "sda2" with the rest of the disk. Choose "raid array".
On "sdb" I create a "swap" partition called "sdb1" of 1go at the beginnig of the disk.
After I create another partition called "sdb2" with the rest of the disk. Choose "raid array".

Important: if you get like me another drive (in my case a 500go) don't touch it yikes!
Don't forget to put "boot" and "swap" at the beginnig of the disks.

Now you can applicate the modification and create your raid 0.

the drives needed for the raid are "sda2" and "sdb2" (in this example).
The raid name is "md0" for the first, "md1" for the second...(if you want several raid partitions).
When the raid array is created, you are returned to the previous screen. Now the raid "md0" appear. It is time to choose it mount's point: "/".
Personally I use "ext4", and have no matter with this.

The partitioning is finished. We have the three partitions needed:
"boot" 1go
"swap" 1go
"/" the rest of the disks.

The installation can begin. That's all folks!

I hope this will help. Sorry for my English, it is not my native language, and I install Ubuntu in French smile.

A+ Francis.

Last edited by astrocisco (2009-05-21 21:50:14)

Re: Raid arrays

Thanks astrocisco, very good tutorial and I will certainly have a go at your suggestions as they seem quite familiar from my efforts, thanks also iggykoopa and I will take a look at your link, as this is ongoing for me any and all suggestions will be greatly appreciated and thanks everyone, astrocisco, your english is quite good and I can follow your steps, thanks again.

Registered Linux user #488058  > Get counted at http://counter.li.org
---------------------------------------------------------------------------------------------------
--------------                Ignorance is Bliss              -----------------#!#!#!

Re: Raid arrays

Happy this help you OOmagoolies smile.
#! forum is good for me; I improve my English as much as my linux knowledge.

A+ Francis.