LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-16-2010, 03:02 PM   #1
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Rep: Reputation: 60
DD and copying 320G HDD in the Quickest Manner


My questions is copying entire 320 HDD and the fastest way of doing this. When I do perform a standard copy of a ubstick, it generally takes about 45 minutes to DD a 16G stick. Can someone please enlighten me? I can remember using Norton Ghost and it wasnt to bad but when I really think about it, those HDD where alot smaller then they are today.
 
Old 12-16-2010, 03:04 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
USB is a relatively slow interface compared to PATA or SATA. That is why it takes a long time to move 16 GB through that interface.

The fastest way to move that much data would be between two SATA 2 disks on the same motherboard.

Actually you could speed that up if you the source disk was a RAID 0 virtual disk and the target disk was another RAID 0 virtual disk, both comprised of SATA 2 disks AND the RAID was implemented entirely in hardware. That is probably the fastest configuration for moving data.

Last edited by stress_junkie; 12-16-2010 at 03:08 PM.
 
Old 12-16-2010, 03:20 PM   #3
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
Many thanks

the hdd that I would like to begin copying is actually a 320G external usb HDD. I would like to create an image and them start copying them to each new usb 320G hdd. Can I just:

PHP Code:
DD if=/path/to/image of=/path/to/device 
and bam all is well or is there some trick that I can run? thanks

and if you want to see a progress bar then try this trick but it:

PHP Code:
dd if=/dev/zero of=/dev/hda pid=$! && while kill -USR1 $pid; do sleep 15done 

Last edited by metallica1973; 12-16-2010 at 03:47 PM.
 
Old 12-16-2010, 03:23 PM   #4
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Sometimes adjusting the amount of data read and written in each operation can affect speed.

dd if=<whatever1> of=<whatever2> bs=4096 conv=notrunc,noerror

Changing the bs= value to various powers of two might affect the speed.
 
Old 12-17-2010, 08:47 AM   #5
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
I will give that a shot, many thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 13 copying data very slowly to external HDD n03x3c Fedora 4 06-26-2010 11:31 PM
I/O error while copying some data on to external HDD gary4gar Linux - Hardware 2 10-31-2007 03:50 AM
copying windows xp via a hdd backup to linux dj2187 General 11 12-15-2006 05:26 PM
copying VCD *.dat files to HDD in Linux isaac_linux General 1 11-05-2003 11:48 AM
Copying from floppy to HDD futurist Linux - General 11 03-27-2003 03:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 03:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration