RE: Imaging Mirrored OS Drives

From: <hidden>
Date: 2006-08-16 17:28:57

The first method that comes to mind is to make a raw copy of each mirrored disk to another disk attached to the same server. dd if=/dev/sda of=/dev/sdb will do a raw dump from one drive to another. Assuming you copy to a drive of equal or greater capacity, your partition structure, RAID superblock (including UUID), and data should remain intact. mdadm should be able to run a disk pair made by raw copies of the disks. I don't see a problem with identical UUID drives living in the same machine, so long as the array isn't started. Obviously copying a mounted block device is a bad idea, so I'd do it from a bootable CD environment, etc.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help