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

  Unix/Linux 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 Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 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 Unix and Linux 10-13-2013
MadeInGermany MadeInGermany is offline Forum Advisor  
Registered User
 
Join Date: May 2012
Last Activity: 30 March 2015, 11:08 AM EDT
Location: Simplicity
Posts: 2,301
Thanks: 160
Thanked 699 Times in 630 Posts
bs=512k is certainly faster than 4k
Sponsored Links
    #3  
Old Unix and Linux 10-13-2013
sea sea is offline
Registered User
 
Join Date: Sep 2013
Last Activity: 30 March 2015, 11:37 AM EDT
Location: Swissh
Posts: 751
Thanks: 155
Thanked 138 Times in 125 Posts
For larger files, somewhat around 200mb - 2gb i even prefer bs=4M .
Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Unix or Linux Image 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 12:13 PM.