LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-30-2009, 04:47 AM   #1
hkapri1
LQ Newbie
 
Registered: May 2009
Posts: 2

Rep: Reputation: 0
Angry Software RAID 0 configuration in RHEL using LVM2


Hi all,
I have set up RHEL with single hard drive initially.But now i have installed new 5-hard drives of 1TB each.I have set it up as RAID 0 -Hardware RAID.The problem is linux detects and shows all hard drives as independent separate HDDS.
I want to use LVM2 for software RAID 0 to show all hard drive volumes as single hard drives..
could you please help me with this....
 
Old 05-30-2009, 09:50 AM   #2
rayfordj
Member
 
Registered: Feb 2008
Location: Texas
Distribution: Fedora, RHEL, CentOS
Posts: 475

Rep: Reputation: 73
Welcome to LQ!



In the past what I have done is created an md raid0 and then used the md device as a pv for the vg where i create lv. If you are not wanting to do that, this article discusses using just LVM to stripe (raid0) an LV across multiple PVs.

How do I create a logical volume using Logical Volume Manager (LVM) post installation?

assuming the 5 1TB drives you added are sd[bcdef]
reading that article, it looks that you would, for example, then perform
Code:
pvcreate /dev/sd[bcdef]1
vgcreate BigVG /dev/sd[bcdef]1
lvcreate -l 100%VG -n BigLV -i 5 BigVG
then make your filesystem on /dev/BigVG/BigLV, mount it and go

You should also be aware of filesystem limitations from RedHat RHEL. I do not think this will be a concern or problem immediately for you (with RHEL4 or RHEL5) since you are only using ~5TB but should be taken into consideration should you decide to add additional capacity and grow the LV and filesystem later on.


Last edited by rayfordj; 05-30-2009 at 09:54 AM. Reason: Added Welcome
 
Old 05-31-2009, 12:35 PM   #3
hkapri1
LQ Newbie
 
Registered: May 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by hkapri1 View Post
Hi all,
I have set up RHEL with single hard drive initially.But now i have installed new 5-hard drives of 1TB each.I have set it up as RAID 0 -Hardware RAID.The problem is linux detects and shows all hard drives as independent separate HDDS.
I want to use LVM2 for software RAID 0 to show all hard drive volumes as single hard drives..
could you please help me with this....
---------------------------------------------
Thanks a lot, I will try the steps mentioned and will hope for the best..
 
  


Reply

Tags
configuration, lvm2, raid, rhel, software, using


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
How to import Software RAID device in to RHEL 5 new install louisb Linux - Enterprise 4 08-06-2008 10:43 AM
Installing RHEL 5 w/ Software RAID 1 diamondgeezer1974 Linux - Software 1 06-04-2008 10:30 AM
Software RAID issue with a RHEL 4 server Vanyel Linux - Server 9 09-07-2007 04:00 AM
removing software raid configuration sbabcock23 Linux - Software 4 03-07-2007 09:32 AM
Software RAID 5 configuration in Redhat arunabh_biswas Linux - Software 2 07-29-2006 04:51 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration