RSS

Ubuntu Power Saver Settings Could Damage Hard Drive

Tue, Oct 30, 2007    (No Ratings, Click to rate this article!) Loading ... Loading ...

Technology


It seems that the default ACPI (power saving) settings for hard drives while running on battery power mode could be causing your hard drive to run an insane amount of load cycles, manifesting itself in “clicking” sounds and also the hard drive’s mechanical portions to be stressed quite a bit more than normal and life shortened to around 1yr (give or take).

Michael Baranov was kind enough to post a detailed fix for folks, essentially telling the hard drive to stop spinning down like crazy while running on battery power. The steps are as follows:

  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:

    /etc/acpi/suspend.d/
    /etc/acpi/resume.d/
    /etc/acpi/start.d/

Share This on Your Favorite Social Network:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Fark
  • Furl
  • Propeller
  • Reddit
  • Technorati
  • StumbleUpon
  • description
  • MisterWong
  • TwitThis
  • Slashdot
  • SphereIt
, , , ,

This post was written by:

Editor - who has written 1481 posts on The “Break it Down” Blog.

Bringing you summarized technical news, announcement and reviews quickly and to the point.

5 Comments For This Post

  1. Erik Weibust Says:

    Is this for real or just a bunch of FUD?

  2. Riyad Kalla Says:

    Erik,
    Seems to be legit. If you read the bug start to finish it’s not *that* bad, it just that the default ACPI settings have Ubuntu spinning down the hard drive *all the time* and then it needs to spin back up… over and over.

    The aggressive power saving features mean the hard drive is doing a shit-ton more heavy lifting mechanically than it should be, wearing it down.

  3. Erik Weibust Says:

    Ok, but what if I follow you tip. Will I then be wearing out my battery? :)

  4. Riyad Kalla Says:

    It will use a bit more battery power, but not necessarily wearing it now… sort of like keeping your screen on bright versus dim… keeping it on bright will require you to charge your computer more often, but it’s not necessarily like you are destroying your battery (since they seem to have so many charge cycles of life now).

    Erik if you are thinking about applying these settings, just to get a feel for what others did you might want to read that bug thread. Maybe 15mins worth of reading? Seems most people in the thread turned on the setting with no ill effects. Hard drive just stopped “clicking so much”, I guess meaning it wasn’t parking itself as often them immediately waking itself back up.

  5. Bob Moore Says:

    My laptop running Ubuntu had hard drive failure after a year or so … and I didn’t abuse it, so have set up this on my new laptop.

Leave a Reply