Re: Linux Software RAID 1 - Unequal Sized Hard Disks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



----- "Manish Kathuria" <mkathuria@xxxxxxxxxxxxxxxxxxxxx> escreveu:

> De: "Manish Kathuria" <mkathuria@xxxxxxxxxxxxxxxxxxxxx>
> Para: centos@xxxxxxxxxx
> Enviadas: Quinta-feira, 18 de Outubro de 2012 12:29:02 (GMT-0300) Auto-Detected
> Assunto:  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
disks.
   
   As for guarentee the safest of the data, first backup :D

   
          Antonio.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| 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@xxxxxx / shadow@xxxxxx | !!! 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.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux