Hi
      I'm trying to establish a software raid1 after installing linux
(redhat 6.2, kernel 2.2.14) in the first drive. I went to a certain extent
but could not succeed completely.
  Here is what I am doing..

   1) Install linux in /dev/sda ( boot partition /dev/sda1, root partition
/dev/sda5, swap /dev/sda6)
   2) fdisk the second drive (/dev/sdb) with the same  size partitions as
/dev/sda but converted the type to 0xfd 
   3) Create /etc/raidtab using failed_disk for /dev/sda1 and /dev/sda5..

                                      raiddev /dev/md0
                                                           .
                                                           .
                                                           device
/dev/sdb5
                                                           raid-disk    0
                                                           device
/dev/sda5
                                                           failed-disk 1 

                                        reiddev  /dev/md1
                                                           .
                                                           .
                                                            device
/dev/sdb1
                                                            raid-disk  0
                                                            device
/dev/sda1
                                                            failed-disk 1

 4) mkraid /dev/md0
     mkraid /dev/md1
           I checked the devices in /proc/mdstat and they looked fine

 5) mount /dev/md0 /mnt ; mount /dev/md1 /mnt/boot
 6) cp directories from / to /mnt except (proc,mnt)
 7) cd /mnt/etc; changed the fstab..
         /dev/md0  /      ext2 defaults 1 1
         /dev/md1 /boot ext2 defaults 1 1 
      
 8) umount /mnt/boot; umount /mnt; raidstop /dev/md0 ; raidstop /dev/md1

   Everything went on fine till now. Then I tried to boot from a floppy with
root=/dev/md0 
     But the kernel panicked...

    I would be very grateful if anyone could help me out with this..
    Thank you very much

     --rezwanul     



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to