LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-07-2012, 06:22 PM   #1
bone1959
LQ Newbie
 
Registered: Jan 2012
Posts: 4

Rep: Reputation: Disabled
How long does it take to write zeros to a 750G hard drive using dd


How long should it take to zero a 750 gig HDD??
 
Old 01-07-2012, 06:37 PM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 343Reputation: 343Reputation: 343Reputation: 343
Hi there,

Quote:
Originally Posted by bone1959 View Post
How long should it take to zero a 750 gig HDD??
that depends on the block size you specify for the dd command, because each block is a separate disk access. If you use a block size of 8kB (which is default, AFAIR), you need short of 100'000'000 disk requests. Each of them may require a few milliseconds to complete, so that sums up to an awful lot of time. I remember that I recently made an image file of an 8GB partition, and that took several minutes. And just two days ago, I formatted a 2TB drive to ext3, which took about half an hour just to create a blank file system.

So now it's up to you to make a guess.

[X] Doc CPU
 
1 members found this post helpful.
Old 01-07-2012, 07:41 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
why don't look up the write speed for your drive ?
 
1 members found this post helpful.
Old 01-07-2012, 08:08 PM   #4
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 190Reputation: 190
For what its worth, you can obtain a status from dd by using the following
Code:
~ $ dd if=/dev/zero of=/dev/null &
[1] 6926
~ $ killall dd -USR1
24453868+0 records in
24453868+0 records out
12520380416 bytes (13 GB) copied, 9.73429 s, 1.3 GB/s
You could also use "watch" with the killall command, and see an update every 2s.
 
1 members found this post helpful.
Old 01-08-2012, 12:02 PM   #5
bone1959
LQ Newbie
 
Registered: Jan 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank You
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How long would e2salvage take on a 1TB hard drive? PsyPeng Linux - General 1 09-23-2010 12:32 AM
How to partition 750g drive into multiple partitions that currently has only linux. bmr Linux - Newbie 6 12-01-2009 10:28 PM
Linux/windows frustrations/ how do I write zeros aeiou Linux - General 5 09-04-2004 10:08 PM
Erasing Hard Drive with dd taking waaayyyy too long mtrisk Linux - Hardware 3 06-23-2004 02:20 AM
Hard drive mounted in read only (After long uptime...) otjervaag Linux - Laptop and Netbook 10 10-04-2003 09:34 PM


All times are GMT -5. The time now is 02:38 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration