Re: duplicate software raid with dd?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux