LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 06-18-2010, 04:28 PM   #1
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 564

Rep: Reputation: 56
2TB HDD and badblocks


Not sure where else to put this, but has anyone else ran the badblocks command on a 2TB drive? I've been running it as follows:

badblocks -wvs /dev/sda

This is a brand new drive and apparently the "Testing with pattern" stage went by pretty quick, however now I'm on the "Reading and comparing" stage and it's taking forever. Every so often it lists off a rather large number followed by the time elapsed.

At the same time I'm running badblocks on an older 200GB drive with bad sectors and it's already on the 2nd pass with no similar listing as the new drive. According to dmesg I'm getting these messages:

Code:
[78595.927302] ata1.00: status: { DRDY ERR }
[78595.927305] ata1.00: error: { UNC }
[78595.948629] ata1.00: configured for UDMA/100
[78595.948637] ata1: EH complete
[78599.702318] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[78599.702322] ata1.00: BMDMA stat 0x25
[78599.702327] ata1.00: failed command: READ DMA EXT
[78599.702335] ata1.00: cmd 25/00:80:40:53:6f/00:00:14:00:00/e0 tag 0 dma 65536 in
[78599.702336]          res 51/40:00:85:53:6f/40:00:14:00:00/e0 Emask 0x9 (media error)
[78599.702340] ata1.00: status: { DRDY ERR }
[78599.702343] ata1.00: error: { UNC }
[78599.724531] ata1.00: configured for UDMA/100
[78599.724541] sd 0:0:0:0: [sda] Unhandled sense code
[78599.724544] sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[78599.724548] sd 0:0:0:0: [sda] Sense Key : Medium Error [current] [descriptor]
[78599.724553] Descriptor sense data with sense descriptors (in hex):
[78599.724555]         72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00 
[78599.724565]         14 6f 53 85 
[78599.724569] sd 0:0:0:0: [sda] Add. Sense: Unrecovered read error - auto reallocate failed
[78599.724575] sd 0:0:0:0: [sda] CDB: Read(10): 28 00 14 6f 53 40 00 00 80 00
[78599.724584] end_request: I/O error, dev sda, sector 342840197
[78599.724592] ata1: EH complete
The new drive is a SATA drive if that makes any difference... this is running off of the latest systemrescueCD distro...
 
Old 06-18-2010, 05:33 PM   #2
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
What do you want to achieve if the bad blocks are managed by the controller and transparent to the user?
 
Old 06-18-2010, 05:45 PM   #3
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
What is the question? A 2 TB is ten times larger than a 200Gig HD; you would certainly expect it to take 10X to run.

I wouldn't worry about the sense errors; usually that just means the drive has to re-read the sector. May have come about because of vibration or some external influence. It isn't an issue unless the drive fails repeatedly to read the sector.
 
Old 06-18-2010, 06:06 PM   #4
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 564

Original Poster
Rep: Reputation: 56
I see... I suppose my question wasn't more along the lines of why is it taking longer, but more as to why I'm seeing a bunch of lines with increasing numbers along with the elapsed time for the new drive while the smaller, older drive does not.
 
Old 06-18-2010, 09:24 PM   #5
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
Minor drive errors are normal if it gets the data without the click of death.
 
Old 06-18-2010, 09:40 PM   #6
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 564

Original Poster
Rep: Reputation: 56
So in theory a second pass on this new drive should not yield much, if any, errors?
 
Old 06-18-2010, 09:42 PM   #7
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 564

Original Poster
Rep: Reputation: 56
So in theory a second pass should not yield as much, if any, errors then?
 
Old 06-18-2010, 11:03 PM   #8
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
^ It likely still will.
 
Old 06-18-2010, 11:36 PM   #9
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 564

Original Poster
Rep: Reputation: 56
Isn't badblocks supposed to eliminate that eventually even on a bad drive?
 
Old 06-19-2010, 12:20 AM   #10
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
But those are probably not bad blocks but rather controller errors.
 
  


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
LUKS on 2TB RAID 5 wsduvall Linux - Server 12 03-26-2009 01:22 PM
WD 2tb external drive tescky Linux - Newbie 1 10-06-2008 10:08 AM
Seeing ext3 partitions > 2TB Storm16 Linux - Software 1 01-03-2008 01:57 AM
File system and > 2TB Files Squeesh Linux - Distributions 3 07-27-2006 05:43 PM
Larger than 2TB volumes aforsyth1 Linux - Software 4 03-23-2005 07:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:42 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
Open Source Consulting | Domain Registration