View previous topic :: View next topic |
Author |
Message |
woodwizzle Apprentice
Joined: 30 Nov 2003 Posts: 225
|
Posted: Wed Aug 15, 2007 4:12 am Post subject: dmraid doesn't create a device /dev/mapper |
|
|
On this same box I used to run ubuntu. To get my ASUS P5N-E's onboard raid to work I just had to run dmraid -tay. That would create an device in /dev/mapper. Doing so in gentoo creates no such device. I found a wiki page about dmraid but all the scripts it has to offer says I first need that device to show up. I know my hardware is compatible as I've seen it work in ubuntu. I also know that the onbard raid is not a genuine raid, but I plan on dual booting this system very soon and the dmraid solution appears to be the only one that'll work for both OSs. The raid is just for storage so I don't need to install anything on it, I just need to mount it. dmraid -tay outputs:
nvidia_icfbegdb: 0 390721966 mirror core 2 131072 nosync 2 /dev/sda 0 /dev/sdb 0
but like I said, there is no device created. I'm fairly certain I have the correct kernel options installed too. I'm using 2 identical seagate SATA drives in a mirroring array.
Any help would be appreciated, thanks,
Corey |
|
Back to top |
|
|
woodwizzle Apprentice
Joined: 30 Nov 2003 Posts: 225
|
Posted: Thu Aug 16, 2007 7:43 pm Post subject: |
|
|
Is it possible I'm missing certain kernel options that are required for Dmraid? I have the raid and device mapper kernel options turned on. |
|
Back to top |
|
|
woodwizzle Apprentice
Joined: 30 Nov 2003 Posts: 225
|
Posted: Sat Aug 18, 2007 4:08 am Post subject: |
|
|
Well I made some progress. I reinstalled dmraid once I got the correct kernel modules setup, then i ran dmraid -ay and it showed up. (dunno why I needed the t in ubuntu). Anywho seems like I'm on track now. |
|
Back to top |
|
|
woodwizzle Apprentice
Joined: 30 Nov 2003 Posts: 225
|
Posted: Sun Aug 19, 2007 4:32 pm Post subject: |
|
|
Well it works =) But it doesn't work at boot. I have to manually run dmraid -ay and mount the raid every time I reboot. Can I add dmraid to my run level? |
|
Back to top |
|
|
tekknokrat Apprentice
Joined: 17 Apr 2005 Posts: 278 Location: Magdeburg
|
Posted: Fri Aug 31, 2007 8:23 pm Post subject: |
|
|
perhaps you can add it as a dmraid=ay kernel option in grub/lilo at least possible for the livecd. _________________ Optimism is solely an absence of information. / Optimismus ist nur ein Mangel an Information.
(Arthur Schopenhauer) |
|
Back to top |
|
|
Suicidal l33t
Joined: 30 Jul 2003 Posts: 959 Location: /dev/null
|
Posted: Fri Aug 31, 2007 9:11 pm Post subject: |
|
|
I had the same issue on my desktop with dmraid I had to set the following kernel options:
Code: |
< > ATA/ATAPI/MFM/RLL support --->
<M> Serial ATA (prod) and Parallel ATA (experimental) drivers --->
--- Serial ATA (prod) and Parallel ATA (experimental) drivers
<M> AHCI SATA support
< > ServerWorks Frodo / Apple K2 SATA support
<M> Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support |
Seems like ATA/ATAPI/MFM/RLL is overriding Serial ATA
and using a generic driver instead of the correct one. |
|
Back to top |
|
|
woodwizzle Apprentice
Joined: 30 Nov 2003 Posts: 225
|
Posted: Sat Sep 01, 2007 2:41 am Post subject: |
|
|
i actually got it working by using genkernel to compile my kernel. |
|
Back to top |
|
|
|