[CentOS] Linux Software RAID 1 - Unequal Sized Hard Disks

Thu Oct 18 15:47:05 UTC 2012
Antonio da Silva Martins Junior <asmartins at uem.br>

----- "Manish Kathuria" <mkathuria at tuxtechnologies.co.in> escreveu:

> De: "Manish Kathuria" <mkathuria at tuxtechnologies.co.in>
> Para: centos at centos.org
> Enviadas: Quinta-feira, 18 de Outubro de 2012 12:29:02 (GMT-0300) Auto-Detected
> Assunto: [CentOS] Linux Software RAID 1 - Unequal Sized Hard Disks
> Has anyone created or rebuilt a Linux Software RAID having mirrored
> partitions on unequal sized hard disks ? There is  a CentOS 5 server
> having two 400 GB hard disks with five mirrored partitions (software
> RAID 1) and one of the hard disks is dying. Since new 400 GB HDDs are
> not available here, we are exploring the possibility of replacing the
> faulty hard disk with one of a higher capacity (500 GB or more). And
> once it is fully replicated, we plan to replace the other 400 GB HDD
> also with another hard disk of the same higher capacity.
> Just want to know if anyone has done something similar and what are
> the chances of success (or data loss) ?

Hi Manish,

   Well this did work. Remember Linux Soft RAID is for partitions not disks,
then, you need to create the new partitions on the bigger drive at the same
size of the old ones. Then replicate. When you had changed the two drives 
you can create a new soft RAID partition on the space leaved.

   But, if you are already planning on change the two disks. You can mount
a new RAID1 schema using the new drives and then copy the data to the new
   As for guarentee the safest of the data, first backup :D


| Antonio S. Martins Jr. - Support Analyst | "Only The Shadow Knows     |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |       Heart of Men!"       |
| E-Mail: asmartins at uem.br / shadow at uem.br | !!! Linux User: 52392 !!!  |
     "Real Programmers don’t need comments — the code is obvious."

Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.