----- "Manish Kathuria" mkathuria@tuxtechnologies.co.in escreveu:
De: "Manish Kathuria" mkathuria@tuxtechnologies.co.in Para: centos@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 disks.
As for guarentee the safest of the data, first backup :D
Antonio.