LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-23-2009, 10:27 AM   #1
onlyolli
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Rep: Reputation: 0
4 hdds in parallel


hey, is it possible to use 4 different harddisk drives parallel with the size of the smallest? like mirroing the first 120gb over the three devices and using the rest of each drive as different, single partitions? and if it is, does the data read-speed increase about 4times compared to one single drive?

everything in software? lvm or so?
 
Old 11-23-2009, 11:18 AM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
Quote:
Originally Posted by onlyolli View Post
hey, is it possible to use 4 different harddisk drives parallel with the size of the smallest? like mirroing the first 120gb over the three devices and using the rest of each drive as different, single partitions? and if it is, does the data read-speed increase about 4times compared to one single drive?

everything in software? lvm or so?
What you're talking about is striping and there is no mirroring involved, if you're looking for data redundancy with a performance increase you need to look at mirroring and striping (RAID 1/0). You could also do RAID5 or RAID50 depending on the IO operations profile you need. You can do that in software although you will probably want to exclude your boot partition from being part of the array. I generally suggest hardware raid over software, but it is possible to do it in software.

Last edited by rweaver; 11-23-2009 at 11:31 AM.
 
Old 11-23-2009, 12:39 PM   #3
TITiAN
Member
 
Registered: Mar 2008
Location: NRW, Germany
Distribution: Arch Linux, using KDE/Plasma
Posts: 392

Rep: Reputation: 49
Just curious: Do you need identical hdd devices for hw raid?
 
Old 11-23-2009, 01:48 PM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I recommend software RAID over hardware RAID, and no RAID at all over the former two.

Anyway, check the wiki for the various types of RAID and the costs and benefits and other stuff:
http://en.wikipedia.org/wiki/RAID

No, you will not get linear scalability with RAID. You will not get 4 times the speed, not even close, for various reasons.

The purpose of RAID is NOT speed but redundancy and theoretically reliability (practically not really).

AID0 is the only one to be recommended for somewhat significant performance gain, but the loss of reliability is usually not worth it, unless you design it as such. Put volatile data on the AID0 and keep a separate HDD for important data.
 
Old 11-23-2009, 02:14 PM   #5
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
Quote:
Originally Posted by TITiAN View Post
Just curious: Do you need identical hdd devices for hw raid?
Yes on all of the raid controlers I regularly deal with.
 
Old 11-23-2009, 02:16 PM   #6
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
Quote:
Originally Posted by H_TeXMeX_H View Post
I recommend software RAID over hardware RAID, and no RAID at all over the former two....<SNIP>...and keep a separate HDD for important data.
I universally disagree with this post in its entirety due to misinformation.
 
Old 11-23-2009, 02:35 PM   #7
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
There is no problem with TRUE hardware raid (no driver required). The problem is that virtually all the motherboard raid and most sub $300(?) raid cards are fake raid(just google it). In the long run you are usually better off using soft raid rather than fake raid.

Raid0 does give you a significant speed increase (well below 2X) but when it does fail(not if) there is no redundancy. As long as you understand this and back up anything that is critical, raid0 is fine. The other raid solutions do give you redundancy and CAN give you limited speed increases. However, if you are trying this with old drives it is usually more cost effective to just buy the newer, faster, larger drives to start with.
 
Old 11-23-2009, 02:43 PM   #8
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by rweaver View Post
I universally disagree with this post in its entirety due to misinformation.
ok, good ... care to rectify it, or just leave it at that ?
 
Old 11-23-2009, 06:37 PM   #9
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
I would also recommend software raid over hardware raid as well but purely based on the costs of true raid only. In reality hardware is always going to be a bit faster (sometimes) read HERE for some benchmarks for Linux software vs hardware raids. There are times when software is faster. Using no raid is the simplest form and is normally the best option for normal users not looking for performance increases.

Last edited by exvor; 11-23-2009 at 06:38 PM. Reason: broken link
 
  


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
kubuntu 6.10, but where is my HDDs? kingroudy Linux - Newbie 4 02-16-2007 04:50 PM
Accessing other HDDs/Booting from other HDDs Namatacka Ubuntu 2 05-07-2006 11:21 AM
Portable HDDs? draget Linux - Hardware 3 01-07-2006 01:15 AM
Mounting HDDs ArneHB Linux - Newbie 4 09-08-2004 03:32 AM
two HDDs gag Linux - Newbie 8 10-14-2003 03:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:14 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