duplicate software raid with dd?

Neal Becker ndbecker2 at gmail.com
Thu Jun 8 23:28:51 UTC 2006

I have 2 drives setup with lvm.  They are basically raid 0 (striped).  One
is dying.

I wonder if could duplicate the partitions to a new drive using dd.  I need
to copy the lvm identity as well.  I'm guessing that is in the boot block
of the drive?

So if I have sda, with partitions sda1, sda2, then if I use dd to
copy /dev/sda, /dev/sda1, /dev/sda2, then swap the drives and I'm good?

More information about the users mailing list