Thanks Scott. I read all this docs and found some interesting thinks about my environment that I had forgotten. I use mkinitrd to put raid1 module into kernel, thus all are fine now. My centos installation had raid1 as a module and due this i had so troubles. On 1/24/06, Scott Silva <ssilva@xxxxxxxxxxxx> wrote: > Cleber P. de Souza spake the following on 1/24/2006 6:11 AM: > > Hi Scott. > > > > It's exactly what I want to do. > > any suggestion? > > > It will take a little bit of work, but it can be done as I did it a couple of > years on our mailservers. The second hard drive will need to be blank to make > things easier. > Get a copy of the software raid howto > (http://www.tldp.org/HOWTO/Software-RAID-HOWTO.html), > and read it.You might want to look carefully at the sections on mdadm and swap > on raid. Also get this article; > http://www.linuxdevcenter.com/pub/a/linux/2002/12/05/RAID.html. Make sure you > have a current rescue boot floppy or cd as grub will have problems until you > get it corrected. > The migration part is in this section; > http://www.tldp.org/HOWTO/Software-RAID-HOWTO-7.html#ss7.6 > but use mdadm instead, as you can make a raid array with one drive missing, > copy the data from the old drive to the equivalent raid device on the new > drive. Then edit your /etc/fstab "carefully" and reboot. > If everythings running ok on the second drive, then you can copy the partition > structure to the old drive and add the partitions to their respective array > and let them rebuild. > > > > > -- > > /-----------------------\ |~~\_____/~~\__ | > | MailScanner; The best |___________ \N1____====== )-+ > | protection on the net!| ~~~|/~~ | > \-----------------------/ () > > _______________________________________________ > CentOS mailing list > CentOS@xxxxxxxxxx > http://lists.centos.org/mailman/listinfo/centos > -- Cleber P. de Souza