Install a DELL Powervault on Red Hat Enterprise ?

Posted on 2005-04-29
Medium Priority
Last Modified: 2013-12-15
Hi ,

can anyone guide me in the right direction to get this setup. Have 2 DELL Poweredge 6650 servers with 3 scsi ports each externally...

Im new to Linux so any help would be great !

Question by:stephengriffin
  • 4
  • 3

Expert Comment

ID: 13896810
LVL 38

Accepted Solution

wesly_chen earned 1500 total points
ID: 13897851
1. Had RHEL 3.0 update 4 or RHEL 4.0 CDs. Those two versions have PERC 4/Di RAID SCSI driver built-in.
   Boot from RHEL CD and type
   linux expert noprobe
  and choose "megaraid2" and continue the inistallation.

2. Shut down the PE 6650. Connect PV to PE 6650 and turn on PV and PE 6650.

3. As root, do "fdisk -l" to see what is the device path for PV.
   Internal disk should be /dev/sda (or + /dev/sdb) and the PV should shows up as
   /dev/sdc (or /dev/sdd), say /dev/sdc for example.

4. Run
   fdisk /dev/sdc
   to partiton the PowerVault disk (500GB or 1TB?).
   I recommend you use LVM. So you can increase the filesystem without shutdown or reformat the disk.
   You need to change the filesystem type as "8e" for "Physical Volume".
  Create multiple physical volumes, say 50GB per physical volume.
  Then for 500GB, you have 10 physical volumes, /dev/sdc1, /dev/sdc2 .... /dev/sdc10.

5. pvcreate /dev/sdc1
    pvcreate /dev/scd2
    pvcreate /dev/sdc10
    Assign 5 phyical volume for one PE6650 and 5 physical volumes for another PE6650.

6. Create Volume group
    vgcreate <my_volume_group> /dev/sdc1 /dev/sdc2 .... /dev/sdc5

7. Creating the Logical Volume (100GB for eample)
   lvcreate -L100G -n<my_logical_volume> <my_volume_group>
  You can create more five 100GB logical volumes since you  have 500GB in volume group

8. Create the File System
   mkfs -t ext3 /dev/<my_volume_group>/<my_logical_volume>
   If you volume group is vg01 and your logical volume name is lv01, then the command will look like
   mkfs -t ext3 /dev/vg01/lv01

9. Mount the filesystem
    mkdir /data
    mount /dev/vg01/lv01  /data

For more detail about the LVM, you can check:

Author Comment

ID: 13900486
Hi ! Thanks for information !Does it matter that I have RHEL installed already? megaraid is on it ( ive noticed it mentioned at startup) but do i install megaraid2 separately?

thanks again!
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

LVL 38

Expert Comment

ID: 13902831
> do i install megaraid2 separately
Edit /etc/modules.conf
and change to
alias scsi_hostadapter  megaraid2
and then (rebuild the ramdisk)
cp /boot/initrd-`uname -r`.img  /root
mkinitrd  -f /boot/initrd-`uname -r`.img  `uname -r`

> Does it matter that I have RHEL installed already?
No. Step 2 to step 9 is for after the RHEL installation.

Author Comment

ID: 13908103
HI Wesley_Chen , could you explain what these lines are for? Im new to Linux?

>alias scsi_hostadapter  megaraid2
and then (rebuild the ramdisk)
>cp /boot/initrd-`uname -r`.img  /root
>mkinitrd  -f /boot/initrd-`uname -r`.img  `uname -r`

LVL 38

Expert Comment

ID: 13910461
> alias scsi_hostadapter  megaraid2
Tell the OS to load megaraid2 driver for your RAID controller.

> cp /boot/initrd-`uname -r`.img  /root
Backup your boot ramdisk  initrd-<current kernel versioon>.img

> mkinitrd  -f /boot/initrd-`uname -r`.img  `uname -r`
Recreate boot ramdisk. So it will rebuild ramdisk to load megaraid2 instead of megaraid on boot.

After this, type
to check which driver module is loaded (megaraid or megaraid2).

Author Comment

ID: 13916749
Hi , megaraid is actually installed when i checked the modules.conf..

Do i have to set scsi id on PV?
LVL 38

Expert Comment

ID: 13919374
> megaraid is actually installed when i checked the modules.conf
PE6650 should use LSI PERC 4/DC RAID controller, which megaraid2 is the better driver for it.
Change it to megaraid2 in /etc/modules.conf and follow the step2 to the rest.

> have to set scsi id on PV
Only when the default SCSI ID confilict with other SCSI device. Otherwise, leave it alone.
Please also read MrAruba's post, the manual will give you more details which is necessary for
the systems administrator to have thorough understanding of the system.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
This article explains how to use the rsync command to create backups and sync data across hosts. Rsync is a very useful command that is often used to copy data, make backups, migrate hosts, and bridge the gap between site staging and production envi…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

594 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