LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-21-2015, 02:20 PM   #1
ballsystemlord
Member
 
Registered: Aug 2014
Distribution: Devuan
Posts: 214

Rep: Reputation: Disabled
Thumbs down What is a fair hard drives lifespan


Alas, my old hard drive, after 8244 hours of faithful service, appears to be dying. The sectors in need of reallocation, have increased rapidly in the last 200 hours of use (it's the spinning type):

Code:
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000b   071   071   016    Pre-fail  Always       -       242876959
  2 Throughput_Performance  0x0005   134   134   054    Pre-fail  Offline      -       87
  3 Spin_Up_Time            0x0007   172   172   024    Pre-fail  Always       -       307 (Average 361)
  4 Start_Stop_Count        0x0012   098   098   000    Old_age   Always       -       11346
  5 Reallocated_Sector_Ct   0x0033   045   045   005    Pre-fail  Always       -       862
  7 Seek_Error_Rate         0x000b   100   100   067    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   130   130   020    Pre-fail  Offline      -       28
  9 Power_On_Hours          0x0012   099   099   000    Old_age   Always       -       8252
 10 Spin_Retry_Count        0x0013   100   100   060    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   099   099   000    Old_age   Always       -       5132
192 Power-Off_Retract_Count 0x0032   091   091   000    Old_age   Always       -       11381
193 Load_Cycle_Count        0x0012   091   091   000    Old_age   Always       -       11381
194 Temperature_Celsius     0x0002   181   181   000    Old_age   Always       -       33 (Min/Max 18/44)
196 Reallocated_Event_Count 0x0032   055   055   000    Old_age   Always       -       984
197 Current_Pending_Sector  0x0022   093   093   000    Old_age   Always       -       319
198 Offline_Uncorrectable   0x0008   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x000a   200   200   000    Old_age   Always       -       0
I wanted to know if I got ripped off on this hitachi.
I normally see HDs that are 8+ years old still functioning, and this on is about half that.
 
Old 03-21-2015, 02:24 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
There is no way to tell how long a disk will last. Hard diak manufacturers usually will state the MTBF, Mean Time Between Failure, but as the name states, this is a statistical measurement and says nothing about a single disk. Yes, 8000 hours is not that much, but things like that can happen with any disk from any vendor, so I wouldn't call that a rip-off, it just shows why having a good backup scheme is a necessity.
 
Old 03-21-2015, 02:33 PM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,475

Rep: Reputation: 2354Reputation: 2354Reputation: 2354Reputation: 2354Reputation: 2354Reputation: 2354Reputation: 2354Reputation: 2354Reputation: 2354Reputation: 2354Reputation: 2354
"Life" depends on a number of factors: usage; crashes; file system employed; quality of manufacture; quality of parts; vibration when rotating; Size of disks; speed of disk (2.5 disk drives are designed to accept knocks better); even interface (ide drives seems to survive abuse better than sata ones).

atime on ext2/3/4 is capable f writing every 5 seconds. 'relatime' option cuts that to 15 seconds. Noatime cuts out these extra writes at the expense of file access information. And there are loads of these little eccentricities make your question impossible to answer. I agree your drive is Kaput. Do you move the box while the platter is still rotating? Don't.
 
Old 03-21-2015, 02:39 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
Heat too might be an issue as well as below temps.

I'd get the Hitachi/IBM drive diags. It may offer better results.

At one time a low level format seemed to help. It may still help.

Plenty of other issues from nearby radar to large motors to power drops/hits to other emf/rfi.
 
Old 03-21-2015, 02:47 PM   #5
ballsystemlord
Member
 
Registered: Aug 2014
Distribution: Devuan
Posts: 214

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
atime on ext2/3/4 is capable f writing every 5 seconds. 'relatime' option cuts that to 15 seconds. Noatime cuts out these extra writes at the expense of file access information. And there are loads of these little eccentricities make your question impossible to answer. I agree your drive is Kaput. Do you move the box while the platter is still rotating? Don't.
I always thought that atime was necessary for correct running of your root fs. Some tools, for example fancy du tools, rely on it.
 
Old 03-21-2015, 02:51 PM   #6
ballsystemlord
Member
 
Registered: Aug 2014
Distribution: Devuan
Posts: 214

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
Heat too might be an issue as well as below temps.
I'd get the Hitachi/IBM drive diags. It may offer better results.
At one time a low level format seemed to help. It may still help.
Plenty of other issues from nearby radar to large motors to power drops/hits to other emf/rfi.
How do I get the diags? I used smartctl to get the partailly shown results above.
When you say "a low level format" do you mean dd if=/dev/zero of=/dev/sda?
Heat, you might be right, I do live in FL USA. emf might also be a factor.
 
Old 03-21-2015, 06:05 PM   #7
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,784

Rep: Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214
Quote:
Originally Posted by ballsystemlord View Post
I always thought that atime was necessary for correct running of your root fs. Some tools, for example fancy du tools, rely on it.
GUI file managers have pretty much rendered atime a useless statistic in many cases. In order to show an appropriate icon for each file they read the beginning of the file to determine its type. That's going to cause an atime update for every file in the directory just because someone looked in the directory, perhaps just to see what huge files might be there. And, if the file manager resets the atime to avoid the appearance of access, that is going to cause a ctime update and make backup programs think that something about the file has changed.

Last edited by rknichols; 03-21-2015 at 06:08 PM.
 
1 members found this post helpful.
Old 03-21-2015, 07:41 PM   #8
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
None of the attributes are failing. Try running a SMART long test, wait for it to finish and post the results. This checks for bad blocks.
 
Old 03-21-2015, 07:47 PM   #9
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
Low level puts new track info on it. dd just writes over the existing set.

Go to Hitachi web site for diag suite. I think ultimate boot cd has it too.
 
Old 03-22-2015, 03:47 AM   #10
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,475

Rep: Reputation: 2354Reputation: 2354Reputation: 2354Reputation: 2354Reputation: 2354Reputation: 2354Reputation: 2354Reputation: 2354Reputation: 2354Reputation: 2354Reputation: 2354
Quote:
Originally Posted by ballsystemlord View Post
I always thought that atime was necessary for correct running of your root fs. Some tools, for example fancy du tools, rely on it.
I'm not saying it isn't. I simply answered your question. I know one can mount with the -relatime option, I don't know about 'noatime.'
 
Old 03-22-2015, 04:28 AM   #11
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Rep: Reputation: Disabled
Lifetime of HDDs might vary a lot, depending on many factors. I had ATA Maxtor 40 GB drive working every day, which started to fail after about 3 years of service. And right now there is WD Caviar Blue 250 GB in my Miditower working every day since it was bought in 2008 -- not a single hint on failing. All parameters are like in brand new drive. But back then I had nasty PSU and didn't know about how to handle drives properly. Now I do.

Last edited by Mr. Alex; 03-22-2015 at 04:29 AM.
 
Old 03-23-2015, 07:10 AM   #12
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,676

Rep: Reputation: 487Reputation: 487Reputation: 487Reputation: 487Reputation: 487
Quote:
I wanted to know if I got ripped off on this hitachi.
I normally see HDs that are 8+ years old still functioning, and this on is about half that.
We used to have about 90 x 2.Gb or 4.3Gb Seagate SCSI drives spinning in an old Sun SparcServer 1000e (3 x SSA100 arrays) they'd been spinning for ten years at least.
Latterly, the server sounded like it was a buzz saw. While the disks were still spinning, the bearings had all dried out. You had to spin down a minimum of ten disks to replace one, it was a nightmare! We'd have to "bean shake " the other nine to get them to break the stiction and spin up if we were lucky. The server lasted far too long due to the need for some legacy app or other.

The message being, if they're left spinning, they'll last longer. Starting and stopping them shortens their life.

Play Bonny!

 
Old 03-23-2015, 10:06 AM   #13
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by Soadyheid View Post
The message being, if they're left spinning, they'll last longer. Starting and stopping them shortens their life.

Play Bonny!

I agree, that's why I always turn off the spin down power saving feature on laptops HDDs.
 
Old 03-30-2015, 12:58 PM   #14
ballsystemlord
Member
 
Registered: Aug 2014
Distribution: Devuan
Posts: 214

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Soadyheid View Post
The message being, if they're left spinning, they'll last longer. Starting and stopping them shortens their life.
The disks that I mentioned lasting 8 years are ones that ran windowz and, as a rule of thumb, you start them up and shut them down, preferably daily.
 
Old 03-30-2015, 03:05 PM   #15
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
I use linux on many computers at work. I haven't noticed any difference between any OS.
 
  


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
Will the lifespan of Hard Drives be over taxed with YouTube, movies and such? whk Linux - Hardware 5 10-12-2012 10:50 AM
Prolonging hard drive lifespan by umounting... s2cuts Linux - General 3 08-04-2009 03:49 AM
2 hard drives, XP on my main sata drives, 10.2 on my IDE LILO doesnt show on boot up Dachy Slackware 14 01-03-2008 07:01 AM
LXer: Fair use or lack of fair play? LXer Syndicated Linux News 0 07-22-2006 06:03 AM
Upgrading hard drives on Software raid 1 boot drives. linuxboy123 Linux - General 0 12-11-2003 03:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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