View previous topic :: View next topic |
Author |
Message |
Gav n00b
Joined: 10 Oct 2002 Posts: 65 Location: Surrey, UK
|
Posted: Sat Nov 16, 2002 5:11 pm Post subject: Where/How can I get hold of working RAID? |
|
|
I have my server setup with Gentoo 1.4_rc1. Most things are working now, after about 3 weeks of work. Now I've just got some new hard rives and try to make a RAID-5 array. It seems that it's broken in 1.4_rc1 -great
So what can be done to get me a working IDE RAID subsystem. Can I get the kernel modules from some other place and compile them to work with the Gentoo kernel I have? It's for my data, my /boot, swap and / are on a SCSI drive.
It seems that I've had problem after problem with getting gentoo up and running. I appreciate it's not easy and I'm learning, but it's really testing my patience! At least so far my problems are being solved by searching the web and this forum - I hope someone here can tell me what to do now... |
|
Back to top |
|
|
Ethernal Tux's lil' helper
Joined: 06 Nov 2002 Posts: 106 Location: Stockholm, Sweden
|
Posted: Sat Nov 16, 2002 7:20 pm Post subject: |
|
|
im no raid expert, but have you checked out raid-tools ? _________________ Hmm.. Of course, these are MY opinions - likely to be just as flawed as anyone else's. Um, really, I guess you should assume everyone's speaking out of some external influence. Believe in whatever makes sense to you. |
|
Back to top |
|
|
Gav n00b
Joined: 10 Oct 2002 Posts: 65 Location: Surrey, UK
|
Posted: Sat Nov 16, 2002 9:23 pm Post subject: |
|
|
Ethernal wrote: | im no raid expert, but have you checked out raid-tools ? |
I found raid tools soon after posting the question. I had no luck in getting
to work after, although it gives the following error:
Code: | /dev/md0: file doesn't exist! |
I think I may be missing something because when I installed gentoo I didn't have the drives to make the RAID array, so I didn't do the RAID commands in the installation guide.
I have looked at the Linux Software RAID how-ro, and have made a suitable /etc/raidtab file. |
|
Back to top |
|
|
_SkeLeToN_ Guru
Joined: 12 Sep 2002 Posts: 506 Location: Montreal,Canada
|
|
Back to top |
|
|
Gav n00b
Joined: 10 Oct 2002 Posts: 65 Location: Surrey, UK
|
Posted: Sat Nov 16, 2002 9:47 pm Post subject: |
|
|
Thanks. I should have said - I'm doing software RAID. I'll read through though incase there's something useful... |
|
Back to top |
|
|
Gav n00b
Joined: 10 Oct 2002 Posts: 65 Location: Surrey, UK
|
Posted: Sat Nov 16, 2002 9:57 pm Post subject: |
|
|
When I do a "cat /proc/mdstat" I get:
Code: | Personalities : [raid5]
read_ahead not set
unused devices: <none> |
my /etc/raidtab currently looks like:
Code: | raiddev /dev/md0
raid-level 5
nr-raid-disks 4
nr-spare-disks 0
persistent-superblock 1
parity-algorithm left-symmetric
chunk-size 128
device /dev/hda1
raid-disk 0
device /dev/hdc1
raid-disk 1
device /dev/hde5
raid-disk 2
device /dev/hdg1
raid-disk 3 |
I'm trying to get grub booting off hde1 as it's on a PCI card rather than the onboard IDE controller and the BIOS seems to treat it as a SCSI drive thus disabling the real SCSI drive to boot!
I formatted it with tab's - is that a problem? |
|
Back to top |
|
|
Gav n00b
Joined: 10 Oct 2002 Posts: 65 Location: Surrey, UK
|
Posted: Sat Nov 16, 2002 10:17 pm Post subject: |
|
|
I rebooted to try out my other grub problem and now mkraid works. I expect (as I've found with most things gentoo) that I'll run into some other problem... |
|
Back to top |
|
|
|