Faster dd for disk clone | Unix Linux Forums | UNIX for Advanced & Expert Users

  Go Back    


UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

Faster dd for disk clone

UNIX for Advanced & Expert Users


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 10-13-2013
heman96 heman96 is offline
Registered User
 
Join Date: Oct 2013
Last Activity: 9 November 2013, 1:48 AM EST
Location: USA
Posts: 21
Thanks: 8
Thanked 0 Times in 0 Posts
Faster dd for disk clone

Guys can anyone tell how can we do faster disk cloning

Below i found in google

1. dd if=/dev/sda of=/dev/sdb bs=4096 conv=noerror,sync

So adding "conv=noerror,sync " makes it faster looks against not adding it

2. Enable write cache activated (hdparm -W1 /dev/sda) then run dd ..


Is above correct ? Any other ideas ?


Thanks!
Sponsored Links
    #2  
Old 10-13-2013
MadeInGermany MadeInGermany is offline Forum Advisor  
Registered User
 
Join Date: May 2012
Last Activity: 18 December 2014, 1:32 AM EST
Location: Simplicity
Posts: 2,089
Thanks: 140
Thanked 613 Times in 556 Posts
bs=512k is certainly faster than 4k
Sponsored Links
    #3  
Old 10-13-2013
sea sea is offline
Registered User
 
Join Date: Sep 2013
Last Activity: 19 December 2014, 11:45 AM EST
Location: Swissh
Posts: 503
Thanks: 95
Thanked 96 Times in 85 Posts
For larger files, somewhat around 200mb - 2gb i even prefer bs=4M .
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Clone or mirror your AIX OS larger disk to smaller disk ? filosophizer AIX 9 02-09-2013 04:21 PM
Mounting a disk clone old noob Ubuntu 13 11-03-2010 04:29 PM
Clone hard disk using Ghost Mizan SCO 1 08-28-2008 05:57 PM
clone disk stamperr Filesystems, Disks and Memory 1 02-06-2007 10:35 AM
How do I clone Solaris 7 disk obosha UNIX Desktop for Dummies Questions & Answers 9 05-26-2005 02:17 PM



All times are GMT -4. The time now is 02:09 PM.