Software RAID 0 configuration in RHEL using LVM2
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....
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
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.
Thanks a lot, I will try the steps mentioned and will hope for the best..
Learn how to configure lvm over raid devices(raid0,raid1,raid5 or raid10)
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.
|All times are GMT -5. The time now is 07:01 PM.|