View previous topic :: View next topic |
Author |
Message |
pjj Apprentice
Joined: 30 Apr 2004 Posts: 165 Location: The Netherlands
|
Posted: Thu Nov 23, 2006 9:33 pm Post subject: Nvraid problem |
|
|
My setup : 74gb hdd (livecd says it /dev/sdc) here I have installed windows xp and gentoo on. 2x250gb harddisk in raid0 using the nvidia onboard "raid" controller (sda and sdb).
All howto's I have found on the internet suggest I want to boot from the (fake/sofware) raid but I don't want to. The problem is grub won't boot from(saying HD2,1 (/dev/sdc2 where my /boot is).
Another problem I have is that my chrooted install doesn't detect my raid0 (Error : finding sysfs mount point).
I might have missed something, along time since I used gentoo and GNU/Linux in general (1.5 years).
-pjj |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54809 Location: 56N 3W
|
Posted: Thu Nov 23, 2006 11:19 pm Post subject: |
|
|
pjj,
You will have one extra or one less drives than you may think, depending on your BIOS.
The BIOS may show your RAID to grun as 3 drives (the two real drives and the raid) or just the raid. Thake that into account.
There has been a recent issue with versions of the kernel and dmraid, this thread explains it all. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
pjj Apprentice
Joined: 30 Apr 2004 Posts: 165 Location: The Netherlands
|
Posted: Tue Nov 28, 2006 8:31 pm Post subject: |
|
|
NeddySeagoon wrote: | pjj,
You will have one extra or one less drives than you may think, depending on your BIOS.
The BIOS may show your RAID to grun as 3 drives (the two real drives and the raid) or just the raid. Thake that into account.
There has been a recent issue with versions of the kernel and dmraid, this thread explains it all. |
Got my system running now thanks for the tip about the BIOS that gave gentoo indeed some other info then I thought it did. Still haven't figured out how to use dmraid, didn't follow any of the guides I have found because they all suggest I want to boot from the raid array, which is not the case. So bassicly I emerged dmraid, dmraid -ay creates the /dev/mapper/nvidia_blabla device, it doesn't create it automaticly at boot though (added dodmraid in my grub config file, when I want to mount the device my system freezes and I am unable todo anything. Any need for an initrd image, thanks in advance. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54809 Location: 56N 3W
|
Posted: Tue Nov 28, 2006 9:05 pm Post subject: |
|
|
pjj,
dmraid is a kernel module. To have root or the raid, you need a home for it outside the raid itself, since the kernel needs it to mount root.
Normal practice is to build things you need for booting into the kernel, however dmraid is a third party kernel module so thats not an option.
The initrd, which is a filesystem in a file, provides the required home. Its a temporary root filesystem loaded into RAM by the boot loader and mounted as root when the kernel starts. Now it can load dmraid to mount your real_root.
To get dmraid up any other way, you need root to be outside of the raid. If thats what you are doing, your root filesystem not raided, then look into kernel and dmraid version pairing. The thread I linked to in my last post explains that. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|
|
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
|
|