EXTREME Overclocking Forums
Home | Reviews | Forums | Downloads | $ EXTREME Deals $ | RealTime Pricing | Free Magazines | Gear | Folding Stats Newsletter | Contact Us


Go Back   EXTREME Overclocking Forums > Software Discussion > Linux, BSD, Alternative OS's
Register Forum Rules FAQ Search Today's Posts Mark Forums Read

Welcome Guest Visitor! Please Register, It's Free and Fun To Participate!
The EXTREME Overclocking Forums are a place for people to learn how to overclock and tweak their PC's components like the CPU, memory (RAM), or video card in order to gain the maximum performance out of their system. There are lots of discussions about new processors, graphics cards, cooling products, power supplies, cases, and so much more!

You are currently viewing our boards as a "guest" which gives you limited access to view most discussions. You need to register before you can post: click the register link to proceed. Before you register, please read the forum rules. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own pictures, and access many other special features. Registration is fast, simple, and absolutely free! To start viewing messages, select the forum that you want to visit from the selection below.

After you have registered and read the forum rules, you can check out the FAQ for more information on using the forum. We hope you enjoy your stay here!

Note To Spammers: We do not allow unsolicited advertising! Spam is usually reported & deleted within minutes of it being posted, so don't waste your time (or ours)!


Please Register to Post a Reply
 
Thread Tools
Old 05-16-2006, 12:48 PM   #1
astrocrep
3> Linux 3>
astrocrep's Avatar
Senior Member
 
Posts: 991
Last Seen: 09-25-2009
Age: 27
From: NJ
iTrader: 6 / 100%
Easy Software Raid For Linux

I searched for hours to find this out, so I figured I would post it for those interested.

This applies to people who want to setup a raid array(s) to BOOT linux off of.
This ONLY applies to nForce Motherboards (probably just nf4)

Distrobution considerations: Its best to use a distrobution that has a textmode install. Using the LiveCD version of ubuntu, I was not given a choice to setup raid. Textmode FTW!

The method below worked perfectly on Fedora Core 5-64bit and Ubuntu 6.06 F7-64bit (textmode installs only)

Step 0.) Remove all storage devices NOT included in the Array.

Step 1.) Disable Raid Support in Bios and and other type of "Software" Raid Controller. That nifty nforce 4 motherboard you have DOES NOT have a HW Raid controller. You will find that if you use that raid controller and try to get linux to play nice, you will fail miserably!

Step 2.) Ensure dmraid is NOT Running! When picking your destination device if you see something along the lines of /dev/mapper/nvida_***** then its running. Reboot your installation cd and add "nodmraid" to the kernel boot command line. This was Off by default on Ubuntu 6.06 Flight 7 and On By default on Fedora Core 5.

Step 3.) Partition creation. As an example, I will use my personal setup.
/dev/sda - WD Raptor 10k 37gb
/dev/sdb - WD Raptor 10k 37gb

/dev/sda
P1: (size) 100mb (type) software raid
P2: (size) 1024mb (type) linux swap
P3: (size) 36GB (type) software raid

/dev/sdb
P1: (size) 100mb (type) software raid
P2: (size) 1024mb (type) linux swap
P3: (size) 36GB (type) software raid

Step 4.) Now select Raid setup from the Partition Tool (super easy in ubuntu or FC5). You will be making 2 Arrays. Array 1 (called /dev/md0 in most cases) will be /dev/sda1 and /dev/sdb1 and will be a Raid 1 Array *** This is Hella Important! Why Raid 1!?!?! Theres no speed increase you say!!! Well my friend, GRUB could care less about whatever software raid array you got setup, so we need to make sure grub can boot our system, and since its just a RAID 1 (Mirror) it can "boot" /dev/sda1 as if it was a single normal HDD. Format this array as ext3 and mount it as /boot and make it bootable. Now for your second array, Array 2. Select partitions /dev/sda3 and /dev/sdb3 and make them a Raid 0 array (yea!!) format it as however you want, I did ReiserFS and mount it as "/".

Step 5.) Grub will most likely be installed without intervention from you if required, have it install on /dev/sda.

Step 6.) Install as normal.

Step 7.) Reboot.

Step8.) Brag to your friends that you've got a Raid 0 array for booting linux!

Thats it!

Extra Info:
- Both of your swap partitions should be active by default.
- When I hooked up my 320gb SATA it became the New /dev/sda and pushed my other two drives down to /dev/sdb and /dev/sdc... the only thing I had to fix was the fstab for swap partitions.
- When hooking up your other drives make sure bios boots the right drive.

Good luck!

If you got any question post.

Thanks,
Rich

Last edited by astrocrep : 05-20-2006 at 01:37 PM.
United States  Offline
    Register to Reply to This Post
Old 05-20-2006, 12:06 PM   #2
Aynjell
Banned!
Banned
Don't ask why unless you want to join them.
DMraid is the software for nforce4 boards. I'd rename your thread to all chipsets in general, since mdraid is fully software, whereas dmraid is for nforce boards.
United States  Offline
    Register to Reply to This Post
Old 05-20-2006, 01:38 PM   #3
astrocrep
3> Linux 3>
astrocrep's Avatar
Senior Member
 
Posts: 991
Last Seen: 09-25-2009
Age: 27
From: NJ
iTrader: 6 / 100%
I had issues gettting DMRaid to work...

Perhaps if I try it again...

Would I see a difference in performance between DMRaid Vs. MDRaid?

Thanks,
Rich
United States  Offline
    Register to Reply to This Post
Sponsored Links:
Please Register to Post a Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with RAID 0 and changing motherboards thadd677 Hard Drives, CD/DVD Drives & Flash Media 4 05-06-2006 12:24 AM
Need a PhotoShoper (Easy Easy Task) astrocrep Photoshop Fun / Graphic Design 4 11-01-2005 12:00 PM
Windows 64 nforce/raid drivers hotshot100 General Windows Troubleshooting 2 01-30-2005 12:01 AM
nforce, raid conflict? noremacyug AMD Motherboards 7 07-02-2004 11:06 AM
939 nForce 250 Motherboards msull AMD Motherboards 2 05-20-2004 05:10 PM

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT -6. The time now is 03:22 PM.

Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Powered by vBulletin
Copyright ©2000 - 2010, EXTREME Overclocking