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: 21 August 2014, 6:59 PM EDT
Location: Simplicity
Posts: 1,841
Thanks: 117
Thanked 530 Times in 480 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: 27 July 2014, 7:56 PM EDT
Location: Swissh
Posts: 319
Thanks: 38
Thanked 38 Times in 38 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 03:21 PM
Mounting a disk clone old noob Ubuntu 13 11-03-2010 03:29 PM
Clone hard disk using Ghost Mizan SCO 1 08-28-2008 04:57 PM
clone disk stamperr Filesystems, Disks and Memory 1 02-06-2007 09:35 AM
How do I clone Solaris 7 disk obosha UNIX Desktop for Dummies Questions & Answers 9 05-26-2005 01:17 PM



All times are GMT -4. The time now is 03:52 AM.