LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-06-2006, 05:33 AM   #1
Torr
LQ Newbie
 
Registered: May 2006
Posts: 6

Rep: Reputation: 0
RAID 0+1....possible?


I'm not sure that this is exactly RAID 0+1, but I believe that's what it is called. What I am wanting to do is the following:

sda1 + sdb1 = md0 (RAID 0)
md0 + sdc1 = md1 (RAID 1)

then, I have some space left at sdb2 and sdc2 which I have other non-raid plans for.

Can this be done, or does the software RAID configuration prevent you from choosing a raid array (md0) as one of the disks for another raid array (md1)? If it does prevent you from doing this, is there a workaround?

Any info would be appreciated.

Thanks in advance.
 
Old 05-06-2006, 05:55 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you can get the raid 0 effectively by using lvm, which is going to be a lot more flexible than real raid 0, but essentially you should be able to layer raid. i'd still vote for lvm though.
 
Old 05-06-2006, 06:02 AM   #3
Torr
LQ Newbie
 
Registered: May 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by acid_kewpie
you can get the raid 0 effectively by using lvm, which is going to be a lot more flexible than real raid 0, but essentially you should be able to layer raid. i'd still vote for lvm though.
What advantage would using lvm have?


[edit]After reading up on LVM, I am very impressed with the versatility that LVM provides (at least in theory). However, I am still interested in the performance boost of RAID 0. Can an LVM volume be made to stripe rather than concatenate? or better yet, can I create a an LVM volume out of RAID devices? This possibility is intriguing to me. Thanks for pointing out a technology I wasnt aware of.

Last edited by Torr; 05-06-2006 at 06:13 AM.
 
Old 05-06-2006, 08:11 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
LVM uses a "stride" setting to say how to place data. you can certainly turn any valid file system into an lvm partition, so yes you can take two raid-1's and LVM them then into a larger raid device. and then whenever you wanted to, take another pair of drives, raid-1 them, and add them to the logical volume.

also there is absolutely minimal impact of the lvm "layer" as in operation there is simply a translation map held in memory which converts logical space to physical space. some tests, by Novell i think, even showed a fractional performance increase.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Raid Problem Fedora Core 3, RAID LOST DISKS ALWAYS icatalan Linux - Hardware 1 09-17-2005 03:14 AM
Perc3Di SCSI RAID + Adaptec 2810SA RAID = Fatal Grub Error? LinuxOnTheEdge Linux - General 2 03-19-2005 02:35 PM
does linux support the sata raid and ide raid in k7n2 delta ilsr? spyghost Linux - Hardware 10 04-16-2004 05:27 AM
moving system from ide software raid to new box with scsi raid ftumsh Linux - General 0 10-28-2003 09:34 AM
ABIT KR7A133-RAID MB - HPT372 RAID Controller jeb Linux - Hardware 3 05-07-2002 01:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:30 PM.

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