[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How do I set up LVM on a RAID RHEL5 machine?

Posted on 2009-02-23
2
Medium Priority
?
849 Views
Last Modified: 2013-12-06
I am in the middle of a RHEL5 installation on a DELL PE1800. I am trying to make the partition table. I have 6 hdd's of 1TB each. Because of the restraints of my RAID card (Cerc), I cannot use them all and make one big RAID5, so I have two RAID volumes called
Arr012 (made up of HDs 0, 1, and 2 in a RAID5 configuration)
and Arr345 (HDs 3, 4, and 5 in RAID 5).

I have made my /boot and /tmp partitions, and now I want to make my LVM physical volumes, so I select:
File System Type: physical volume (LVM)
Allowable Drives: sda 1906683 MB CERC Arr012

and for size, I have tried fixed sizes and "Fill to maximum allowable size," but I get:
Partitions of type 'physical volume (LVM) must be constrained to a single drive. This is done by selecting the drive in the 'Allowable Drives' checklist.

Now, does this mean that you cannot use LVM on a RAID? I thought that the RAID, being hardware RAID, would be seen as a regular disk from the operating system. That does not seem to be the case, because it won't let me create an LVM physical volume.
0
Comment
Question by:shinmaikeru
2 Comments
 
LVL 5

Assisted Solution

by:dainok
dainok earned 800 total points
ID: 23720006
You have to create a LVM partition for sda (first RAID disk) and another one for sdb (second RAID disk). Then you can group them in one single volume group, and finally you can create all logical volume you need.

Alternately you can configure one RAID disk under LVM and add the second one after the installation (vgextend <volumegroup> /dev/sdb1.

Personally I prefer use all filesystem under LVM except /boot (you can use a standard RedHat Setup and just add all volume group you need).
0
 

Accepted Solution

by:
shinmaikeru earned 0 total points
ID: 23720036
Well, it turns out that it is a UI quirk with the Red Hat installer. I was selecting only one of the two RAID disks, but the selection (which inverts the color) actually does nothing at all. You have to remove the checklist on the disk you don't want to use. This is quite unintuitive. If clicking the line and changing the color is not selecting only that disk, then people are going to make the same mistake.

Thank you for the comment. I will leave this in the knowledgebase in case someone else has the same problem.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
When we purchase storage, we typically are advertised storage of 500GB, 1TB, 2TB and so on. However, when you actually install it into your computer, your 500GB HDD will actually show up as 465GB. Why? It has to do with the way people and computers…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question