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

Posted on 2009-02-23
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.
Question by:shinmaikeru
    LVL 5

    Assisted Solution

    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).

    Accepted Solution

    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.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Valere unit 6 47
    Enable UEFI boot on Dell R710 Server 3 40
    nini micro sd card issues 9 38
    Hardware RAID vs OS RAID 20 74
    You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
    this article is a guided solution for most of the common server issues in server hardware tasks we are facing in our routine job works. the topics in the following article covered are, 1) dell hardware raidlevel (Perc) 2) adding HDD 3) how t…
    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…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!

    733 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

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now