I am trying to implement mirroring RAID-2 for Redhat 6.0 ecommerce
version. Kernel version is 2.2.5-15Smp (I have a dual celeron 366
ABIT Motherboard).

I have connected the two SCSI HDs 4.4G (IBM DDRS)on a Adaptec
2940 UW controller card (SCSI ID 6 & 10).


I partitioned the HDs as sda1 => /home1 , sdb1 => /home2 .

I want to mirror /home1 and /home2 .


I added the following lines in /etc/conf.modules

alias md-personality-3 raid1
alias md-personality-4 raid5

I have looked through the HOW-TOs

http://www.linuxgazette.com/issue45/nielsen.html

and created /etc/raidtab

as follows

raiddev /dev/md0
        raid-level 1
        nr-raid-disks 2
        nr-spare-disks 0
        chunk-size     4
        persistent-superblock 1
        device /dev/sda1
        raid-disk 0
        device /dev/sdb1
        raid-disk 1

I then typed mkraid /dev/md0 it came up with the following

handling MD device /dev/md0
  analyzing super-block
  disk 0: /dev/sda1, 4458006kB, raid superblock at 4457920kB
  /dev/sda1 is mounted
  mkraid: aborted

Can somebody point me further from here ?? I am looking at the
HOW-TOs and other web based doc.

Thanks,
===
arijit


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

Reply via email to