Property in Spain | Car Loan | Music Festival | Loans | Debt Help
RAID issue [Archive] - ZGeek

PDA

View Full Version : RAID issue


wolfpac181
03-02-2006, 05:42 AM
I got 2 160 gig SATA drives that I'm trying to raid-5 up together inside a FC4 box with a clean install.

sda1 = 512M swap + rest at ext3
sab1 = 512M swap + rest at ext3

create Raid device md0 and conjoin them into raid device. It formats, installs, congratz me, and tells me to reboot. The norms.

when I reboot though, grub totally stops on stage2. this never happened before with me when I LVM'd the two drives. when LVM'd together, it worked like a charm. so no bad drivers I'd assume.

Only two things I could think of is one SATA drive is shit, or there's something a little extra I must do. anyway.... if anyone knows a little more on the RAID for linux... would appreciate their insight:)

Spingo
03-02-2006, 10:33 AM
I got 2 160 gig SATA drives that I'm trying to raid-5 up together

Eh??? Come again? Two drives and RAID-5????

A proper RAID-5 implementation requires three drives. Creating a RAID-5 array in with two drives still provides no redundancy...

But moving on (and trying to be constructive...). How is each disk partitioned? Have you included the /boot directory on the software RAID-array? Is software RAID functionality compiled into your kernel??

macgyver
03-02-2006, 04:18 PM
Is your fstab set to boot from /dev/md0 (or whatever your device is?)

Before you reboot does the output of cat /proc/mdstat look correct?

wolfpac181
03-02-2006, 04:32 PM
Eh??? Come again? Two drives and RAID-5????

A proper RAID-5 implementation requires three drives. Creating a RAID-5 array in with two drives still provides no redundancy...

But moving on (and trying to be constructive...). How is each disk partitioned? Have you included the /boot directory on the software RAID-array? Is software RAID functionality compiled into your kernel??

thats a my bad. should be mirrored RAID-1

and with a little more tinkering I did get it working

sda=
1 gig swap
100 meg /boot on md0 using ext3
rest is / on md1 using LMV

sdb=
1 gig swap
100 meg /boot on md0 using ext3
rest is / on md1 using LMV

then set LMV format.

all works:) thanks all