PDA

View Full Version : [ubuntu] install ubuntu server on RAID 5


pavlizz
May 11th, 2008, 05:23 PM
Hello there,

I'm trying to install ubuntu server and I create 2 raid 5 one for my root dir and one for the swap (I have 3*500GB sata disks)
I put boot flags and on the 3 portions that they belongs to root
All of my partitions are primary.
The installation continuous normally and I get an error that is not able to install GRUB On my system

What I can to to get my system working ?

vorgusa
May 11th, 2008, 05:31 PM
I believe I have run into this problem before. Are you using Hardware Raid or trying the software raid? You can not install your OS on the software raid because the OS is what handles the hard drives. When the computer tries to boot it will not be able to understand the partitions. You need a full out Raid Card like an Areca 1208. You can install the OS on a single hard drive and then create a RAID 5 partition to store files on in the installer.

pavlizz
May 11th, 2008, 05:40 PM
I'm trying to build a software raid

I installed previously Ubuntu on soft raid exactly raid1

I think the system it can't see the raid as one devise and in cant install GRUB on it

The error that I see it says

Error executing "grub-install (hd0)" failed.
this is Fatal Error

vorgusa
May 11th, 2008, 05:49 PM
Not sure about if the OS can boot from a software Raid 1 but it makes sense that it could since it is just two identical hard drives. Raid 5 will put parts of every files on all three of your hard drives and will not be able to work properly... I have looked into it before because I wanted to do Raid 0 on my desktop, and ran into the same problem. After doing a bunch of googling I ran into a site that said Ubuntu does not support install on Software Raids.

pavlizz
May 11th, 2008, 05:54 PM
If I install my system on a separate disk and after create the RAID 5 on the disks it will work.

What happens if the separate disk burns? I will loose all my data ?

If I make a new install Can I rebuild the raid and not loose a single bit of data ?

vorgusa
May 11th, 2008, 06:35 PM
Your OS will not be saved by the hard disk dieing but all the data on the RAID 5 will be able to survive a hard disk failure.

"If I make a new install Can I rebuild the raid and not loose a single bit of data ?"

If your OS dies and you want to get your data after reinstalling the new OS should be able to find it.. You might want to do some googling or just test it out before relying on it. Or see if someone else knows.

pavlizz
May 11th, 2008, 06:43 PM
I will create 3 raid 1 RAID 5 for my data one raid5 for my swap and and raid1 for my boot dir

I believe that is the best configuration

pavlizz
May 11th, 2008, 07:52 PM
Nothing yet :(

I have create 3 raid arrays

first RAID 1 100 MB for the /boot directory
second RAID 5 498 GB for the / root directory
Third RAID 5 2 GB for SWAP

The installation continues normally and finish But the system is not booting

NOW I get this error

isolinux: Disk error 01, AX = 0201, drive 80

vorgusa
May 11th, 2008, 09:18 PM
any reason why you have the swap partition on the RAID 5... you should not gain much by having that on the RAID 5, since there is nothing to backup. Try moving that over to the RAID 1 drives