LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux > 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

Tags used in this thread
Popular LQ Tags , , , , , ,

Reply
 
Thread Tools
Old 05-30-2009, 05:47 AM   #1
hkapri1
LQ Newbie
 
Registered: May 2009
Posts: 2
Thanked: 0
Angry Software RAID 0 configuration in RHEL using LVM2


[Log in to get rid of this advertisement]
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....
hkapri1 is offline  
Tag This Post , , , , , ,
Reply With Quote
Old 05-30-2009, 10:50 AM   #2
rayfordj
Member
 
Registered: Feb 2008
Location: Texas
Distribution: Fedora, RHEL
Posts: 335
Thanked: 24
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 10:54 AM.. Reason: Added Welcome
rayfordj is offline     Reply With Quote
Old 05-31-2009, 01:35 PM   #3
hkapri1
LQ Newbie
 
Registered: May 2009
Posts: 2
Thanked: 0

Original Poster
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..
hkapri1 is offline     Reply With Quote

Reply

Bookmarks


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

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


All times are GMT -5. The time now is 12:03 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration