Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Where/How can I get hold of working RAID?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Gav
n00b
n00b


Joined: 10 Oct 2002
Posts: 65
Location: Surrey, UK

PostPosted: Sat Nov 16, 2002 5:11 pm    Post subject: Where/How can I get hold of working RAID? Reply with quote

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 :x

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
View user's profile Send private message
Ethernal
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2002
Posts: 106
Location: Stockholm, Sweden

PostPosted: Sat Nov 16, 2002 7:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gav
n00b
n00b


Joined: 10 Oct 2002
Posts: 65
Location: Surrey, UK

PostPosted: Sat Nov 16, 2002 9:23 pm    Post subject: Reply with quote

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
Code:
mkraid /dev/md0

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
View user's profile Send private message
_SkeLeToN_
Guru
Guru


Joined: 12 Sep 2002
Posts: 506
Location: Montreal,Canada

PostPosted: Sat Nov 16, 2002 9:31 pm    Post subject: Reply with quote

Look at this thread I think you will find your answer there

https://forums.gentoo.org/viewtopic.php?t=7460

Good luck
Back to top
View user's profile Send private message
Gav
n00b
n00b


Joined: 10 Oct 2002
Posts: 65
Location: Surrey, UK

PostPosted: Sat Nov 16, 2002 9:47 pm    Post subject: Reply with quote

_SkeLeToN_ wrote:
Look at this thread I think you will find your answer there

https://forums.gentoo.org/viewtopic.php?t=7460

Good luck


Thanks. I should have said - I'm doing software RAID. I'll read through though incase there's something useful...
Back to top
View user's profile Send private message
Gav
n00b
n00b


Joined: 10 Oct 2002
Posts: 65
Location: Surrey, UK

PostPosted: Sat Nov 16, 2002 9:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gav
n00b
n00b


Joined: 10 Oct 2002
Posts: 65
Location: Surrey, UK

PostPosted: Sat Nov 16, 2002 10:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum