DV Hardware - bringing you the hottest news about processors, graphics cards, Intel, AMD, NVIDIA, hardware and technology!
   Home | News submit | News Archives | Reviews | Articles | Howto's | Advertise
DarkVision Hardware - Daily tech news
July 17, 2019 
Main Menu
News archives

Who's Online
There are currently 180 people online.


Latest Reviews
Ewin Racing Flash gaming chair
Arctic BioniX F120 and F140 fans
Jaybird Freedom 2 wireless sport headphones
Ewin Racing Champion gaming chair
Zowie P-TF Rough mousepad
Zowie FK mouse
BitFenix Ronin case
Ozone Rage ST headset

Follow us

Ubuntu is a notebook hard drive killer

Posted on Wednesday, October 31 2007 @ 12:06:56 CET by

Bug hunters have found a harmful bug in Ubuntu Linux which can dramatically reduce the lifespan of your notebook hard drive.

The bug makes your notebook drive go to a bit more than one load cycle a minute when you're running on battery power. The problem with this is that notebook hard drives can only handle up to 600,000 such cycles according to specifications from hard drive makers. Some quick calculations learn us that in a worst case scenario your notebook HDD will only last a bit more than a year due to this bug.
When switching to battery power, /etc/acpi/power.sh issues the command hdparm -B 1 to all block devices. This leads to extremely frequent load cycles. For example, my new thinkpad has already done well over 7000 load cycles -- in only 100 hours. That's at least one unloading per minute. Googling for "load unload cycles notebook OR laptop" shows that most laptop drives handle up to 600,000 such cycles. As these values clearly show, this issue is of high importance and should be fixed sooner rather than later.
In case you're not willing to wait on an update from the Ubuntu developers here's some info on how you can fix the problem:
1) make a file named "99-hdd-spin-fix.sh". The important thing is starting with "99".
2) make sure the file contains the following 2 lines (fix it if you have PATA HDD): #!/bin/sh
hdparm -B 255 /dev/sda
3) copy this file to 3 locations:
It's not clear if only Ubuntu is affected, some people report other Linux distros are also affected. We also don't know if the Ubuntu developers are going to fix this problem as they claim it's not their problem. I read a comment from a developer who claimed that Ubuntu reads out your hard drive's power management settings by default and doesn't touch them:
There's certainly an argument that we should work around BIOSes, but in general our assumption has been that your hardware manufacturer has a better idea what your computer is capable of than we do. If a laptop manufacturer configures your drive to save power at the cost of life expectancy, then that's probably something you should ask your laptop manufacturer about.



DV Hardware - Privacy statement
All logos and trademarks are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2019 DM Media Group bvba