LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
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


Reply
  Search this Thread
Old 11-01-2012, 08:51 AM   #1
diejengent
LQ Newbie
 
Registered: Nov 2012
Posts: 25

Rep: Reputation: Disabled
weird findings in harddisk SMART data


Hello everyone,

I am not sure this problem has anything to do with Linux. I think it might, because it started right about when I installed and began using (Gentoo) Linux; I installed it on the same harddisk as Windows XP with grub in the MBR.

When I look at the harddisk's SMART data I see the "Reallocation Event Count" increasing every day with a small amount. It started at 4 sectors when I installed Linux, increases with 1, 2 or 3 sectors every day and right now is at 22 sectors.
Reallocation Event Count means that there were attempts to reallocate sectors.
When I look at "Reallocated Sector Count", which would indicate the real amount of sectors that indeed have been remapped, it says 0 sectors and it states that the drive is perfectly healthy.

The value "Uncorrectable Sector Count" (bad sectors which could not be remapped) also states 0 sectors.

So if I get this right, it is said that there were 22 attempts to remap a sector. These attempts failed, because there are no real remapped sectors.
I now think that these attempts are bogus, because then there would have to be sectors in the Uncorrectable Sector Count value, right?

So what is going on here? Has this anything to do with Linux maybe?

Thanks in advance for your insights.
 
Old 11-01-2012, 02:21 PM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
There is a list of attributes and meaning here:
http://en.wikipedia.org/wiki/S.M.A.R....T._attributes
I would say the drive is fine. I think any errors it might have found have been corrected. I see 'Reallocated Sector Count' as more credible than 'Reallocation Event Count', which is ambiguous and isn't reported by all drives (mine doesn't have it).

Either way I run a long test around every 1000 power on hours.
 
Old 11-01-2012, 02:35 PM   #3
diejengent
LQ Newbie
 
Registered: Nov 2012
Posts: 25

Original Poster
Rep: Reputation: Disabled
Thanks for the reply.

It's indeed weird.
Some websites and indicators suggest that this is a critical value and could cause disk failure.
Other websites and indicators do not really take it as serious.

I am also just being curious what might trigger it. Especially that it seems to happen since I installed Linux.
 
Old 11-01-2012, 05:46 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Might be worth it to run the OEM hard drive tests. If the diag test cause it to increment then you may have to find out what is causing it.

As to if linux could directly cause it, maybe. Kind of hard to say yes or no. Usually the modern hard drive is a system unto it's own control for these reports. A bad driver/bad code or faulty hardware might be causing it.
 
Old 11-01-2012, 06:30 PM   #5
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,779

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Besides the Reallocated Sector Count, you also want to look at Current Pending Sector (attribute #197). That is a count of sectors that have been found bad and will be reallocated the next time they are written. Until such time as they are reallocated, they will remain as visible bad sectors to the OS. I believe that is where you will find your 22 (or more, now) sectors, and a steadily incrementing Reallocated Event Count and increases in either Reallocated Sector Count or Current Pending Sector is a very bad sign.
 
Old 11-02-2012, 07:30 AM   #6
diejengent
LQ Newbie
 
Registered: Nov 2012
Posts: 25

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro
Might be worth it to run the OEM hard drive tests. If the diag test cause it to increment then you may have to find out what is causing it.
I have run the extended test from the Gnome Disk Utility. I also ran the program badblocks with a destructive read/write test on the largest partition. This all went fine.
There also seems to be a self test in the BIOS setup; I haven't tried that one yet. Will do soon.

Quote:
As to if linux could directly cause it, maybe. Kind of hard to say yes or no. Usually the modern hard drive is a system unto it's own control for these reports. A bad driver/bad code or faulty hardware might be causing it.
Speaking of 'problems' with a new modern hard drive:
http://www.linuxquestions.org/questi...rd-4175435255/

Quote:
Originally Posted by rknichols
Besides the Reallocated Sector Count, you also want to look at Current Pending Sector (attribute #197). That is a count of sectors that have been found bad and will be reallocated the next time they are written. Until such time as they are reallocated, they will remain as visible bad sectors to the OS. I believe that is where you will find your 22 (or more, now) sectors, and a steadily incrementing Reallocated Event Count and increases in either Reallocated Sector Count or Current Pending Sector is a very bad sign.
The Current Pending Sector is also stating a value of 0.
The only value taht is 'nagging' is the Reallocated Event Count. The other values are staying steadily on 0 and thus healthy.
 
Old 11-02-2012, 08:48 AM   #7
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,779

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Quote:
Originally Posted by diejengent View Post
The Current Pending Sector is also stating a value of 0.
The only value taht is 'nagging' is the Reallocated Event Count. The other values are staying steadily on 0 and thus healthy.
Strange. Never encountered that before. Is the drive subject to vibration, or something else that might cause a sector to appear bad temporarily, but later be found OK? Unfortunately, there's no way to know just what events might cause the firmware to increment the Reallocated Event Count.
 
Old 11-02-2012, 06:52 PM   #8
diejengent
LQ Newbie
 
Registered: Nov 2012
Posts: 25

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rknichols View Post
Strange. Never encountered that before. Is the drive subject to vibration, or something else that might cause a sector to appear bad temporarily, but later be found OK? Unfortunately, there's no way to know just what events might cause the firmware to increment the Reallocated Event Count.
Funny how your thought on vibrations is also the solution to the other problem I posted:
http://www.linuxquestions.org/questi...rd-4175435255/

The hard sound of the internal laptop speakers, which are sitting right above the drive bay, are causing vibrations.
Maybe this is also the cause for the strange reallocation attempts, which in the end do not seem to be real errors, but just interruptions.
I mean, the slow down of the hdd even triggered buffered I/O errors as found in /var/log/messages.

Though, it still remains weird. The other drives in my laptop, which were there for 6 whole years, never had a high value at the reallocation event count.

Last edited by diejengent; 11-02-2012 at 06:53 PM.
 
Old 11-02-2012, 10:41 PM   #9
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,779

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Here is a video of a demonstration of how the response times of a whole shelf of rack mounted disk drives is degraded just by yelling at it: http://www.youtube.com/watch?v=tDacjrSCeq4

I've personally seen a disk drive degraded almost to zero throughput by a vibrating tape drive in the same tower case.
 
Old 11-03-2012, 05:32 AM   #10
diejengent
LQ Newbie
 
Registered: Nov 2012
Posts: 25

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rknichols View Post
Here is a video of a demonstration of how the response times of a whole shelf of rack mounted disk drives is degraded just by yelling at it: http://www.youtube.com/watch?v=tDacjrSCeq4

I've personally seen a disk drive degraded almost to zero throughput by a vibrating tape drive in the same tower case.
That indeed is a remarkable video.
Thanks for sharing your insights!
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Am i weird or just smart for my age? silvyus_06 General 58 02-12-2012 10:41 PM
Clean confidential data from harddisk kirukan Linux - Newbie 9 01-21-2010 09:49 PM
Weird Harddisk Problem HoundDog Slackware 2 08-01-2005 08:43 PM
harddisk disassembly to get data eantoranz Linux - Hardware 8 10-10-2004 11:20 AM
Emergency - New Harddisk to transfer old data ganninu Linux - Newbie 10 07-23-2003 08:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:01 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