On 2012-08-08 03:21:44 +0200, Vincent Lefevre wrote:
> 2. Disable spindown via some option. This is what I did, but without
>    any effect!
> 
> I first tried putting "spindown_time = 0" in /etc/hdparm.conf, then
> ran "/etc/init.d/hdparm restart" (not sure whether this is useful).
> But the drive still spins down.

Actually, I can see that /lib/hdparm/hdparm-functions contains:

        if hdparm_try_apm "$WANTED_DISK"; then
            if hdparm_is_on_battery; then
                hdparm_set_option -B127
                # we allow spindown, but set a spindown time of 3 minutes by
                # default so the disk isn't constantly power cycling on a busy
                # machine
                hdparm_set_option -S36
            else
                hdparm_set_option -B254
            fi
        fi

So, even before my change to have -S0, the -S36 wasn't taken into
account. There seems to be something wrong with this option.

It seems that some Ubuntu users have similar problems:

  http://askubuntu.com/questions/137544/how-to-change-harddrive-spindown-time

the workaround being to use the -B option only (with some value
between 128 and 254).

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to