View Single Post
  #2   (View Single Post)  
Old 3rd October 2008
wilfried's Avatar
wilfried wilfried is offline
Real Name: Peter Strömberg
Port Guard
 
Join Date: May 2008
Location: Teckomatorp, Sweden
Posts: 11
Default

Quote:
Originally Posted by Carpetsmoker View Post
Yesterday I wanted to clone a 500GB disk, this disk was somewhat faulty (Trouble spinning up, but once it was spinning it worked fine) and wanted to clone all data to an identical disk, dd is the obvious way to do that.

I booted jggmi's OpenBSD 4.3.1 liveCD, and used:
# dd if=/dev/wd1c of=/dev/wd0c
use raw devices (rwdxx) instead of block devices (wdxx), and use a larger blocksize (default is a measly 512 bytes), e.g.:
# dd if=/dev/rwd1c of=/dev/rwd0c bs=32k
__________________
HP ProCurve 1800-24G, Phenom 9750, Dual Opteron 265, AMD64 3000+,
Dual P3-800, eMac G4 1.0GHz, Sun Blade 150, Alpha PWS 433 and more ...

Last edited by wilfried; 3rd October 2008 at 08:12 AM.
Reply With Quote