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    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 10-13-2013   -   Original Discussion by heman96
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   -   Original Discussion by heman96
MadeInGermany MadeInGermany is online now Forum Staff  
Moderator
 
Join Date: May 2012
Last Activity: 18 November 2017, 3:33 AM EST
Location: Simplicity
Posts: 3,822
Thanks: 318
Thanked 1,281 Times in 1,159 Posts
bs=512k is certainly faster than 4k
Sponsored Links
    #3  
Old Unix and Linux 10-13-2013   -   Original Discussion by heman96
sea sea is offline
Registered User
 
Join Date: Sep 2013
Last Activity: 14 October 2016, 2:49 PM EDT
Location: Swissh
Posts: 1,285
Thanks: 256
Thanked 226 Times in 209 Posts
For larger files, somewhat around 200mb - 2gb i even prefer bs=4M.
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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 Questions & Answers 9 05-26-2005 02:17 PM



All times are GMT -4. The time now is 04:37 AM.