duplicate software raid with dd?
Les Mikesell
lesmikesell at gmail.com
Thu Jun 8 23:32:50 UTC 2006
On Thu, 2006-06-08 at 19:28 -0400, Neal Becker wrote:
> 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?
/dev/sda is the entire drive, including the boot block, partition table
and all partitions. You won't need to copy sda1 and sda2 separately.
--
Les Mikesell
lesmikesell at gmail.com
More information about the users
mailing list