leftbar
leftbar
SmartRaid V in RedHat Linux 6.0

Table of Contents
  1. Introduction
  2. Supported controllers
  3. What hardware should be used?
  4. Installation
    4.1 Installing and configuring the hardware
    4.2 Installing Linux and a DPT SmartRAID V Controller
  5. Troubleshooting
    7.1 RAID configuration shows up as N different disks
    7.2 If all fails...
    7.3 Contacting DPT
  6. References
  1. Introduction

    This document describes how to install the Linux I2O driver for DPT SmartRAID V SCSI RAID controllers.

  2. Supported controllers

    These instructions are for DPT SmartRAID V controllers. These controllers use an I2O device interface and require a different driver than the one used for earlier DPT SCSI RAID controllers.

    If you have an earlier model DPT controller, see the DPT Hardware RAID HOWTO for specific instructions. SmartRAID V controllers are not compatible with the previous EATA-DMA driver used for older model DPT controllers.

  3. What hardware should be used?

    This HOWTO assumes you are installing both the Linux OS (kernel version 2.0 or 2.2) and the controller in a computer system for the first time. Your computer must be compliant with the PCI 2.1 specification and have at least one free PCI slot that can accommodate a full length card if necessary.

  4. Installation

    4.1. Installing and configuring the hardware

    Refer to the DPT SmartRAID V User's Manual to install the controller. Refer to your system documentation for information on installing disk drives and additional hardware.

    After the hardware is installed, boot the system. The system BIOS should detect and configure the DPT controller hardware automatically. You can use the DPT Storage Manager on ROM (SMOR) utility to configure your disk drives and create RAID groups, if necessary. When the DPT I2O BIOS message appears, press Ctrl+D to activate SMOR.

    4.2. Installing Linux and a DPT SmartRAID V Controller

    The DPT I2O driver install for Red Hat Linux 5.2 has 2 disks. Disk 1 is a boot disk with the Linux install program and Disk 2/Root Disk contains supplemental files for the DPT I2O driver installation.

    When you boot from Disk 1, you will see a menu that gives you the choices of a regular install, expert mode and help mode.

  1. For the regular install, press Enter. For the expert install, type "expert" and press Enter.
  2. Root Disk. Insert the DPT Disk 2 to continue.
  3. Choose a Language. Select the appropriate one.
  4. Keyboard Type. Choose the appropriate one.
  5. Installation Method. This defaults to Local CDROM and Force supplemental disk is checked. If you chose the Expert mode, be sure the Force supplemental disk option is not checked.
  6. The next screen asks if the Red Hat CD is in your CD-ROM drive. If not, insert the Red Hat CD at this time.
  7. CDROM Type. Choose the appropriate one.
    NOTE: If you are using an IDE CDROM, this will automatically initialize the drive.
  8. Press Enter to start a search for the DPT I2O controller. After finding the controller, you are prompted for additional SCSI adapters. If you are using an additional SCSI adapter, choose the appropriate one.
  9. Installation Path. Choose the appropriate one (new installation or upgrade).
  10. Installation Class. Choose the appropriate one. The instructions are similar for each one, except for what is loaded for each choice.
  11. Disk Setup. Choose either Disk Druid or fdisk to partition the drive.
  12. Partition Disks. Choose which disks to partition. For fdisk, if you click on the Edit button, a command line prompt is displayed. For help using fdisk, type "m".

    After partitioning the drives, you are returned to the graphical screen. Click on Done to continue.

  13. The next screen shows the current disk partitions, including the mount point, device, requested space for device and type of partition.

    NOTE: Linux requires the partition dedicated to the swap file to be not more than 127 MB.

    Choose the partition you want to create as the root and click on Edit.

  14. Edit Partition. Type / in the Mount Point field to make that drive the root.

    If you have multiple drives, create the path for the additional drives such that it is different from the root, such as: /usr or /usr/rac.

    After creating the mounting points, highlight OK to continue with installation.

  15. Active Swap Space. Choose the appropriate partition created in step 14.
  16. Partitions to Format. Choose the partitions you want to format.
  17. Components to Install. If you chose Workstation or Server the installation continues.

    If you chose Custom you can choose what components you want to install from Red Hat Linux.

    The choice has no effect on installing the DPT controller and I2O driver.

    If you choose Custom, after installing the components you selected, the installation will continue.

  18. Probing Result. First the type of mouse is detected. Choose the appropriate mouse.

    Next the PCI slots are probed. If you have a PCI video adapter, it will find the device, install drivers and then ask about Monitor Setup. Choose the appropriate one. Depending on the monitor you use, the system will either probe or not probe the monitor.

    Network Configuration. Follow the directions for the LAN configuration install. If you are not using a local area network, You can bypass this screen.

    Configure the time zone.

  19. Services. Choose the appropriate ones.
  20. Configure your printer.
  21. Choose a root password. The password must be at least 6 characters long.
  22. After the driver is installed, choose whether to make a bootdisk or not.
  23. Lilo Installation. Choose where you want to install the bootloader. Default is normally /dev/sda Master Boot Record.
  24. After choosing the boot loader location, follow the instructions for the next screen.

    If there are no special instructions, press OK to continue. A LILO RAMDISK will be created. The installation is now complete.

4.3 Applying Kernel Update 2.2.5-22

This procedure should be used after updating your kernel to 2.2.5-22. This ensures that your DPT I2O driver is still installed correctly with the new kernel. For additional information about this kernel update, see http://www.redhat.com/corp/support/errata/kernel99_06_03.html

  1. Install the 2.2.5-22 or 2.2.5-22smp kernel from RedHat, but do not reboot yet.
  2. Create the following directory if it does not already exist:
    mkdir -p /lib/modules/2.2.5-22/scsi
    (or if on an SMP machine):
    mkdir -p /lib/modules/2.2.5-22smp/scsi
  3. Copy the dpt_i2o.o driver to that directory: cp dpt_i2o.o /lib/modules/2.2.5-22/scsi

    (SMP equivalent; note that the driver is renamed in the target directory):

    cp dpt_i2o_smp.o /lib/modules/2.2.5-22smp/scsi/dpt_i2o.o

  4. Create an initial ramdisk with the dpt_i2o driver in it in the /boot directory:

    cd /boot ; mkinitrd initrd-2.2.5-22.img 2.2.5-22

    (SMP equivalent):

    cd /boot ; mkinitrd initrd-2.2.5-22smp.img 2.2.5-22smp

  5. Edit the /etc/lilo.conf file. Add or replace the image and initrd entries:
    image=/boot/vmlinuz-2.2.5-22
    initrd=/boot/initrd-2.2.5-22.img

    (SMP equivalent):

    image=/boot/vmlinuz-2.2.5-22smp
    initrd=/boot/initrd-2.2.5-22smp.img
  6. Run lilo:
    lilo
  7. Reboot:
    shutdown -hr now
  8. Troubleshooting

    5.1. RAID configuration shows up as N different disks

    The disk array is not configured properly. If you are using the DPT SMOR utility, you need to configure the RAID disks as a single logical array.

    5.2. If all fails...

    Read the SCSI-HOWTO again. Check the cabling and the termination. Try a different machine if you have access to one. The most common cause of problems with SCSI devices and drivers is faulty or misconfigured hardware.

    5.3. Contacting DPT

    You can contact DPT Technical Support for assistance.
    E-mail: support@dpt.com

  9. References

    The following documents may prove useful as you set up RAID:

    DPT RAID Primer and other RAID/SCSI-related documents (http://www.dpt.com/) navigate to the Tech Library or Technical Support areas.

    Linux Kernel HOWTO
    (http://metalab.unc.edu/LDP/HOWTO/Kernel-HOWTO.html)

    Linux DPT Hardware RAID HOWTO
    (http://metalab.unc.edu/LDP/HOWTO/mini/DPT-Hardware-RAID.html)

    EATA-DMA homepage (for older DPT controllers)
    (http://www.uni-mainz.de/~neuffer/scsi/dpt/index.html)


rightbar
rightbar