LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 05: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, 10: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 10:54 AM. Reason: Added Welcome
 
Old 05-31-2009, 01: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..
 
Old 08-06-2014, 03:27 AM   #4
satishtiwary
LQ Newbie
 
Registered: Aug 2014
Location: jaipur,india
Distribution: rhel5
Posts: 1

Rep: Reputation: Disabled
Learn how to configure lvm over raid devices(raid0,raid1,raid5 or raid10)

hi everyone!
i am satish tiwary(author of slashroot.in)
Trainer at Ethical Hacking Tuition Center Jaipur,India
(Trainer for CCENT CCNA CCNP LINUX LAMP CLOUD-COMPUTING STORAGE-MANAGEMENT WORDPRESS Ethical-Hacking and SEO)
you can configure lvm over raid very easily in very simple steps.
we configure it to partition raid devices.
It is one of alternative method to partition raid devices.
To learn configuration of raid or lvm or lvm over raid you can visit our website.
thank you!
 
  


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 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 05:14 AM.

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