I clone single disk systems by booting the master system to a CD and running…
dd if=/dev/sda | gzip - | ssh user@hostname dd of=image.gz
Then I boot the target system with the CD and run…
ssh user@hostname dd if=image.gz | unzip - | dd of=/dev/sda
I works great for simple single disk systems.
But now I'd like to perform a similar cloning of a 4 disk RAID5 system. I know that /dev/sda
needs to change, but to what?
EDIT: The boxes are linux each with a software RAID.