[linux-lvm] Can I dd one disc of a lv

Spam spam at tnonline.net
Thu Nov 6 06:25:02 UTC 2003

> Hi,

> I have 3 discs, two 180 GB and one 200 GB drive, every drive is
> one Partion with a one PV which builds a 560 GB VG from that I 
> get a 500 GB LV.

> Now the 200 GB hdd is faulty. But I have no change to extend the 
> LV, because the Max LV Size is 512 GB. So pvmove isn't possible.
> But I have another 200 GB Drive in my system. 

> Now the question: Can I "dd" the faulty 200 GB drive to the new 200 GB
> drive? And if, how? Does "dd if=/dev/hde1 of=/dev/hdf1" the job, or what
> have I to do?

  Use dd_rescue instead. That tool is developed to be better than dd
  for copying data off bad drives. dd_rescue can also walk backwards.
  If your system freezes when reaching bad blocks then you can write
  down the block and tell dd_rescue to copy the disk backwards up to
  that block.

> Greetings Tobias

> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

More information about the linux-lvm mailing list