LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-03-2007, 07:03 PM   #1
Nitram
LQ Newbie
 
Registered: Jul 2007
Posts: 21

Rep: Reputation: 15
trying to setup a RAID0


ok, so I'm running ubuntu 7.10, and am using an NF4 chipset
I boot live from the CD
Install the dmraid package
go into the command line and type
sudo dmraid -ay
this activates the array right?
when I enter the command
dmraid -r
I see the following

/dev/sda: nvidia, "nvidia_enhhcaddf", stripe, ok, 39297086 sectors, data@ 0
/dev/sdb: nvidia, "nvidia_enhhcaddf", stripe, ok, 39297086 sectors, data@ 0

so this means that it's detecting the array right?

basically, I'm at a loss as to what I need to do after this. When I try to install ubuntu after this has been done, I get to the partitioning stage and it still sees the two hard drives as seperate.

I tried to FDISK but I'm totally new to linux and it's a little complicated

any help would be greatly appreciated, thank you!

Last edited by Nitram; 12-03-2007 at 09:02 PM.
 
Old 12-04-2007, 01:37 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
If you have enabled the RAID0 in the BIOS, disable it. On-board RAID us almost always a fake RAID. Linux software RAID works out faster anyway. Then check out the following howto:
http://tldp.org/HOWTO/Software-RAID-HOWTO.html

You should also ask why you want RAID0 - the failure rate is higher and there's no parity. Usually, RAID0 is used to achieve higher speeds for network games.
 
Old 12-04-2007, 04:39 AM   #3
Nitram
LQ Newbie
 
Registered: Jul 2007
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Simon Bridge View Post
If you have enabled the RAID0 in the BIOS, disable it. On-board RAID us almost always a fake RAID. Linux software RAID works out faster anyway. Then check out the following howto:
http://tldp.org/HOWTO/Software-RAID-HOWTO.html

You should also ask why you want RAID0 - the failure rate is higher and there's no parity. Usually, RAID0 is used to achieve higher speeds for network games.

Well, I have two identical 200 gig hard drives, and I didn't want to have 150 gigs for stuff on one, and 199 gigs for stuff on the other, I just wanted to combine them. That's my main reason.


basically, I just didn't want to seperate my data like that
 
Old 12-04-2007, 04:46 AM   #4
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 59
Quote:
Well, I have two identical 200 gig hard drives, and I didn't want to have 150 gigs for stuff on one, and 199 gigs for stuff on the other, I just wanted to combine them. That's my main reason.
But if any of the data is critical, and you have a failure with one of the drives, you will lose all the date. So keep good backups of the critical data.
 
Old 12-04-2007, 05:04 AM   #5
Nitram
LQ Newbie
 
Registered: Jul 2007
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mrrangerman View Post
But if any of the data is critical, and you have a failure with one of the drives, you will lose all the date. So keep good backups of the critical data.
yeah I know, thanks for the heads up though


I might just give up on the raid for now, since I'm new to this. I should concentrate on getting my sound card to works
 
Old 12-04-2007, 06:03 AM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
You just want one big drive to stick stuff on? Investigate LVM. Slower than RAID0 but safer and more versatile.

You want safer RAID with two drives - I think that's RAID1, but you don't got extra storage space.

Splitting your files across drives is what RAID is doing anyway. If your data orders naturally, you'll want to consider this. I knew a guy with 200Gigs of mpegs ... created a /movies partition on a spare drive. Also, if you put your swap partition on a different drive to your root partition, your system will be faster.

Another approach I've seen is to have one drive for OSs (multiboot environment) and another drive for /home (common to most of the OSs).
 
Old 12-04-2007, 07:05 AM   #7
Nitram
LQ Newbie
 
Registered: Jul 2007
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Simon Bridge View Post
You just want one big drive to stick stuff on? Investigate LVM. Slower than RAID0 but safer and more versatile.

You want safer RAID with two drives - I think that's RAID1, but you don't got extra storage space.

Splitting your files across drives is what RAID is doing anyway. If your data orders naturally, you'll want to consider this. I knew a guy with 200Gigs of mpegs ... created a /movies partition on a spare drive. Also, if you put your swap partition on a different drive to your root partition, your system will be faster.

Another approach I've seen is to have one drive for OSs (multiboot environment) and another drive for /home (common to most of the OSs).


well this is how I setup without the raid

os partition on the firs drive then a partition for stuff
swap partition on the second drive then a partition for stuff



I'll look into LVM
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adaptec ASR-2820SA in Raid0 slower than SW-Raid0 phab Linux - Hardware 0 01-22-2007 09:03 AM
DISCUSSION: Setup Raid0 on Slack 10.2 XavierP LinuxAnswers Discussion 4 10-24-2006 11:58 PM
i want to setup raid0 but ... Vasili Linux - Software 3 08-28-2006 03:39 AM
Booting to RAID0 OpenCircuit Slackware 5 12-08-2005 11:54 PM
boot to PATA raid0 on Promise 378 *and see* SATA raid0 ICH5 ? patr Linux - Hardware 2 02-25-2004 01:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration