Linux – Cloning software RAID 1

imaginglinuxraid

I got any order for seven Linux-HA NFS clusters, which consist of two nodes a piece. Each node has a software RAID 1 configuration. I'm trying to speed up the process here.

How could I go about cloning these? I've never really done any massive clone deployments.

I've read that clonezilla doesn't support software raid, but I don't see why I couldn't clone each individual hard drive in the software raid array.

Best Answer

If you try to clone under mdadm, you are just asking for trouble if you ever mix up the cloned pairs. In other words, if one of these machines has a problem and you plug the drive into the other to try and recover the data from it, mdadm will be mighty confused by seeing three drives that all appear to be part of the same two drive array.

Best to create a new array on each machine, and then rsync, or if you must, partclone your filesystem over. Also with grub2 you can skip the /boot partition and just install it on both MBRs directly.

Related Topic