Help answer threads with 0 replies.
 Home Forums HCL Reviews Tutorials Articles Register Search Today's Posts Mark Forums Read
 LinuxQuestions.org [SOLVED] dd - how long does it take for a 500GB drive
 User Name Remember Me? Password
 Linux - General This Linux forum is for general Linux questions and discussion. If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

 08-03-2011, 08:43 AM #1 masontech@compren.com LQ Newbie   Registered: Aug 2011 Posts: 2 Rep: dd - how long does it take for a 500GB drive Doing a complete backkup of one drive to another, creating a duplicate. Using the command dd if=/dev/sda of=/dev/sdb. I have used this before on a 40GB drive. This time I'm doing a 500GB drive - does anyone have an wild guess on how long it should take?
 Click here to see the post LQ members have rated as the most helpful post in this thread.
 08-03-2011, 09:14 AM #2 crts Senior Member   Registered: Jan 2010 Posts: 1,649 Rep: Hi, the exact time will depend on the speed of your harddisks. Are they external USB harddisks? Both internal? SATA? You can calculate the time with the following formula: Code: `500*2^10/X` Where X is the average speed. You can determine it by running a test. You can copy 1GB between those two disks and see which average speed you get. E.g., I get for 1GB: Code: ```\$ dd if=dummy of=dummy2 2097152+0 records in 2097152+0 records out 1073741824 bytes (1.1 GB) copied, 53.0985 s, 20.2 MB/s``` The bold part is the value for X. You do not need to convert the 'MB'. So 500GB would take Code: `500*2^10/20 = 25600 seconds =~ 425 minutes =~ 7 hours` Note, that I copied the from and to the same disk. If you are using two different disks then you will probably get higher transfer rates. 1 members found this post helpful.
 08-03-2011, 09:46 AM #3 masontech@compren.com LQ Newbie   Registered: Aug 2011 Posts: 2 Original Poster Rep: Perfect, thank you. The command prompt has not returned, so it appears to still be copying. Although I have heard that sometimes this happens, even though it has completed. It has been going now for 13 hours, so I will stop it and see if I have a good copy.
08-03-2011, 09:54 AM   #4
crts
Senior Member

Registered: Jan 2010
Posts: 1,649

Rep:
Quote:
 Originally Posted by masontech@compren.com Although I have heard that sometimes this happens, even though it has completed.
Where did you hear that? If you want to see the progress while the dd command is running then issue it in this manner:
Code:
`dd if=/path/to/source of=/path/to/target bs=1M & pid=\$!`
This will start dd in the background. You can check the progress with
Code:
`kill -USR1 \$pid`

Last edited by crts; 08-04-2011 at 08:11 AM.

2 members found this post helpful.

 Thread Tools Search this Thread Search this Thread: Advanced Search

 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 On HTML code is Off Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post abefroman Linux - Server 1 03-23-2011 11:41 AM gilbertt Linux - Hardware 3 11-13-2008 08:02 PM twinkers Debian 4 06-08-2008 01:42 AM cojo Linux - Hardware 16 06-06-2007 11:05 AM cyberpuerka Linux - Hardware 6 05-11-2005 11:08 AM

LinuxQuestions.org

All times are GMT -5. The time now is 01:41 PM.

 Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap -
 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.
 Syndicate Latest Threads   LQ News Twitter: @linuxquestions Facebook: linuxquestions Google+: linuxquestions