Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ASUS M2N-E : unable to use nvidia raid
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
hybrid256
n00b
n00b


Joined: 18 Mar 2005
Posts: 22

PostPosted: Tue Aug 29, 2006 10:14 am    Post subject: ASUS M2N-E : unable to use nvidia raid Reply with quote

Hi,

I owned an ASUS M2N-E board which seem to be excellent, it uses a nVidia nForce 570 Ultra and can handle raid with it's 6 sata ports (raid 0, 1, 0+1, 5, jbod)

I built a raid5 set using the raid bios made of 3 sata disks, it is available as one raid set in the bios for boot so, until then, everything seem to be perfect.

After booting on Gentoo 2006.0 AMD64 minimal install CD, the individual disks are visible but no raid set available ... i.e : I was hoping to see one disk of 500Gb (raid5 mode) and instead I see 3 disks of 250Gb each.

I install Gentoo anyway on a fourth disk hoping that building the system with a newer kernel would solve the problem but still, I can't see my raid set.
I'm now running under kernel gentoo-sources 2.6.17-r7.

Any idea on how I can use my mobo raid functions ??

Any help gladly appreciated.

Thanks.
Back to top
View user's profile Send private message
centryfox
n00b
n00b


Joined: 14 Jan 2005
Posts: 27

PostPosted: Tue Sep 12, 2006 7:14 pm    Post subject: bump Reply with quote

bump
Back to top
View user's profile Send private message
jtaylor72
Apprentice
Apprentice


Joined: 01 Feb 2004
Posts: 197
Location: "the can", WA

PostPosted: Mon Sep 18, 2006 7:16 am    Post subject: Reply with quote

You need to do software RAID. Search for that on here. I think I saw a Software RAID How-TO around here somewhere, maybe in the wiki.
Back to top
View user's profile Send private message
96140
Retired Dev
Retired Dev


Joined: 23 Jan 2005
Posts: 1324

PostPosted: Mon Sep 18, 2006 10:12 am    Post subject: Reply with quote

nVidia RAID is not true hardware RAID; nVidia's RAID implementation relies on Windows to be installed, since it uses the nVidia Windows RAID driver.
Back to top
View user's profile Send private message
teddy_doc
n00b
n00b


Joined: 12 Jan 2006
Posts: 25

PostPosted: Fri Sep 22, 2006 11:20 am    Post subject: Reply with quote

jtaylor72 wrote:
You need to do software RAID. Search for that on here. I think I saw a Software RAID How-TO around here somewhere, maybe in the wiki.

I'm currently suffering the same problem as the thread-starter. I found the wiki page on Software RAID, but this only works, if the device-mapper was able to create the device-node in /dev/mapper/.

For my configuration (which is mostly the same as stated above), this isn't the case, even if I add 'dodmraid' as kernel parameter, when booting the live-cd.

I googled a bit, and found dmraid on the net.

http://people.redhat.com/~heinzm/sw/dmraid/

I downloaded it, and compiled it on another PC with static bindings to device-mapper.
Code:
./configure --enable-static_link


So, when I copy this binary to the livecd's /root-directory, I can see my raid when I type:
Code:
./dmraid -s


Then I tried activating the raid with
Code:
./dmraid -ay


But this lead to an device-mapper error, telling me that the kernel is missing the raid45-support.
This is the exact message:
Code:
device-mapper target type "raid45" not in kernel


However, the device-node "nvidia_XXXXXXXX" is created in /dev/mapper. But I can't do anything with it. The 2 already existing partitions (WinXP 64-bit) are not shown, and even fdisk fails with some weird error.

The I removed the device-node with
Code:
./dmraid -an

and tried modprobing the module "raid5" before activating again, but this didn't work for me either.

So, know I'm open for suggestions on how to proceed. Please! ;-)

I'm following one trace, which is creating my own livecd to install gentoo from, with a patched kernel. The raid45-patch is available from the same guy, who's providing dmraid:
http://people.redhat.com/~heinzm/sw/dm/dm-raid45/

But the readme says, that the patch is still at alpha-stage and that it could damage my data. That's why I'm not so eager to try, but I will if no one has another idea.

So, please help me. I want to have gentoo running on my new PC the sooner, the better! ;-)
Back to top
View user's profile Send private message
jtaylor72
Apprentice
Apprentice


Joined: 01 Feb 2004
Posts: 197
Location: "the can", WA

PostPosted: Mon Oct 09, 2006 9:07 am    Post subject: Reply with quote

Here are the steps I used to build my raid.....I'll actually post the shell script I have on a thumb drive for use when I need to boot off the live CD. This does not include the setup with FDISK for making the partitions, but that should be easy enough.....

Code:

#!/bin/sh

mknod /dev/md1 b 9 1
mknod /dev/md2 b 9 2
mknod /dev/md3 b 9 3
mknod /dev/md4 b 9 4

mdadm -Cv /dev/md2 -l5 -n3 -c128 /dev/sd{a,b,c}2
mdadm -Cv /dev/md3 -l5 -n3 -c128 /dev/sd{a,b,c}3
mdadm -Cv /dev/md4 -l5 -n3 -c128 /dev/sd{a,b,c}4

swapon /dev/md2
mount /dev/md3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
mount /dev/md4 /mnt/gentoo/home
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
Back to top
View user's profile Send private message
Brolin Empey
n00b
n00b


Joined: 20 Oct 2005
Posts: 20
Location: /home/brolin/

PostPosted: Tue Dec 19, 2006 11:29 pm    Post subject: Reply with quote

jtaylor72 wrote:
Here are the steps I used to build my raid.....I'll actually post the shell script I have on a thumb drive for use when I need to boot off the live CD. This does not include the setup with FDISK for making the partitions, but that should be easy enough.....

Code:

#!/bin/sh

mknod /dev/md1 b 9 1
mknod /dev/md2 b 9 2
mknod /dev/md3 b 9 3
mknod /dev/md4 b 9 4

mdadm -Cv /dev/md2 -l5 -n3 -c128 /dev/sd{a,b,c}2
mdadm -Cv /dev/md3 -l5 -n3 -c128 /dev/sd{a,b,c}3
mdadm -Cv /dev/md4 -l5 -n3 -c128 /dev/sd{a,b,c}4


I am curious why you did not use Bash 'for' loops in this script. I guess there might be a reason, because you have used brace expansion, so you must know more than the basics of shell scripting.

To return to the original topic, I can say that I also had problems with an nVidia RAID controller on a different Asus motherboard: a K8N (Socket 754). I could not boot Linux from a SATA hard disk when the nVidia RAID controller was enabled. From this experience, I learned about nVidia's "fake RAID".
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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