Results 1 to 3 of 3

Thread: Ubuntu 10.10 Maverick heavy hdd load_cycle

  1. #1
    Join Date
    Jan 2008
    Location
    Berlin, Germany
    Beans
    18
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Ubuntu 10.10 Maverick heavy hdd load_cycle

    Hi,

    I just want to tell laptop users how they can protect their hdd from heavy load cycle count (spin up/down of the hdd) when using battery.

    If you are not sure then just type this command several times in interval of 1-2 minutes, and you will see how much the hdd head spins down, and up:

    Code:
    sudo smartctl --all /dev/sda | grep -i load_cycle
    Change /dev/sda with appropriate hdd path for your pc.

    If you notice spin difference in this time interval, then you have a problem.

    Just do the following:

    Create a file named 95hdparm-apm under /etc/pm/power.d/

    Code:
    #!/bin/sh
    hdparm -B 254 /dev/sda
    Change /dev/sda appropriately to your hdd.

    Save it and do a
    Code:
    sudo chmod u+rwx,g+rx,o+rx /etc/pm/power.d/95hdparm-apm
    Now you can put your laptop to sleep, and wake it up to see if this is working.

    Just type
    Code:
    sudo hdparm -I /dev/sda | grep -i "Advanced power management level"
    Change /dev/sda appropriately.

    It should say 254, and not 128.

  2. #2
    Join Date
    Jun 2006
    Beans
    Hidden!

    Re: Ubuntu 10.10 Maverick heavy hdd load_cycle

    Thanks for this.

  3. #3
    Join Date
    May 2007
    Location
    Aalborg, Denmark
    Beans
    32
    Distro
    Ubuntu

    Re: Ubuntu 10.10 Maverick heavy hdd load_cycle

    This fixed everything for me too. Installing laptop-mode-tools made my computer unable to suspend and hibernate.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •