Re: Can I dd one disc of a lv

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

 



Tobias Wagener wrote:

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?

Heinz told me:
"You need to dd starting from the first physical extent (use pvdata -PP on the old one and look for pe_on_disk.base) to the same offset on the new disk (skip and seek dd option) and you want dd to continue after read errors (noerror option)."


Also, I was recently told about the dd_rescue utility, but I haven't had the misfortune/opportunity to try that one yet.

   / Rickard Olsson,IT-Konsult/
  / Telefon: +46 70 635 01 42/
 / http://www.webhackande.se/


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

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux