Yalo
    e-mail
    internet accelerators
    internet access
    internet and phone call
    web hosting
    storage space
    url redirection
    internet call waiting
    free sms
    nota bene
 

How to install bootable Linux on RAID array

  Requisites: Gigabyte GA-SINXP1394 motherboard, Intel Pentium 4 processor, ITE IT8212 ATA RAID controller on board, two ULTRA ATA Seagate hard disks. Slackware 9.1 Linux. IT8212 RAID controller driver from http://www.ite.com.tw/, source files (menu line does not work correctly in Netscape, Mozilla).
  1. Connect hard disks on IDE3 and IDE4, both have to be masters.
  2. Configure BIOS SATA/RAID/SCSI boot order RAID and First boot device CDROM.
  3. Enter GigaRAID setup utility. Go to item 2 "Define RAID". Select Array 0, select array mode "Mirror", change assignment of hard disks to "Y". Save settings, select to erase old data in the array. Select to boot from configured array.
  4. Boot from CDROM.
  5. Both Suse and Mandrake sources are compilable on Slackware 9.0 and 9.1. Driver has to be compiled on the system with the same kernel version as kernel version on Slackware CD.
  6. Copy iteraid.o on a diskette. Mount diskette. Load module insmod iteraid.o After loading module dmesg command will show at the end of output somethting like this:
    iteraid_init: Found Controller: IT8212 UDMA/ATA133 RAID Controller
    IssueIdentify: Checking for IDE. Status (50)
    FindDevices: Device 0 is IDE
    Channel[0] BM-DMA at 0xDC00-0xDC07
    Channel[1] BM-DMA at 0xDC08-0xDC0F
    scsi0 : RAIDExpress133
      Vendor: ITE       Model: IT8212X           Rev: 1.3 
      Type:   Direct-Access                      ANSI SCSI revision: 00
    Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
    SCSI device sda: 78165358 512-byte hdwr sectors (40021 MB)
    Partition check:
     sda: unknown partition table
    
    Linux sees RAID array as one scsi disk.
  7. Partition disk array: fdisk /dev/sda.
  8. Install Slackware Linux. It will install simultaneously on both HD
  9. Mount raid array: mkdir /sda; mount /dev/sda1 /sda
  10. Copy iteraid.c and iteraid.h from floppy to /sda/usr/src/linux/drivers/scsi/
  11. Change names of iteraid.c and iteraid.h to some names from scsi directory, f.e. to 3w-xxxx.c and 3w-xxxx.h respectively. in 3w-xxxx.c change reference from iteraid.h to 3w-xxxx.h
  12. Change root directory to mount point: chroot /sda /bin/sh
  13. Configure the kernel with RAID support. From SCSI support > SCSI low-level drivers select 3ware hardware ATA-RAID support. Compile and install new kernel. Make it bootable.
  14. Exit from shell. Reboot.
  15. In the BIOS select first boot device SCSI. Boot from RAID.
  16. After reboot make directory /proc
  17. Finish