disable HDD spin down?

Is there any way to disable hard disk spin down in suse 12.1?

I have tried to google it up, but I’ve found only hdparm -S 0 and hdd spins down anyway…
(edit: or is it controlled by hardware and there’s nothing I can do?)

-=WELCOME=- new poster…

have you looked at the power savings settings in your configure desktop
> hardware > power management area?

(but, i don’t know if you have such a area since you didn’t say what
desktop environment you are using–please always give that…)


DD http://tinyurl.com/DD-Caveat
openSUSE®, the “German Engineered Automobiles” of operating systems!

I use KDE3 and there’s no such thing. But I hope, hard disks aren’t related to desktop environment… Maybe some unpredictably located config file?

On 11/25/2011 04:36 PM, matrixx741 wrote:
> I hope, hard disks aren’t related to desktop environment

no not directly, but the exact path of how to manage power saving
settings (which can be used to impact such devices) in the GUI are very
related to the DE used…

on the other hand, i do kinda remember a discussion on spin down here in
the last several months, or so…did you (when you did the googling you
spoke of) confine your searches to these fora?

do none of these help:

http://www.google.com/search?q=site%3Aforums.opensuse.org+“hard+drive”+“spin+down”

and, i know they may not since you are using a very new kernel and
systemV (i guess)…[since you didn’t give a hint of your level of
experience i wonder if you had something which worked ok for you in 11.4
but the same does not in 12.1, when the ‘system_’ changed from D to V]


DD http://tinyurl.com/DD-Caveat
openSUSE®, the “German Engineered Automobiles” of operating systems!

SOLVED:
(in really ugly way:)

It seems “hdparm -B 255” command can deal with it untill powering off.
I wanted to run the command at boot… unsuccesfully (maybe it’s reseting, somehow, sometime during boot? or maybe even later)

Succesfull way:
put into crontab:

          • /sbin/hdparm -B 255 /dev/sda > /dev/null

it runs the command every minute - it’s little bit wasting resources, but it works.

On 2012-09-13 12:46, matrixx741 wrote:

> * * * * * /sbin/hdparm -B 255 /dev/sda > /dev/null
>
> it runs the command every minute - it’s little bit wasting resources,
> but it works.

Instead you can run it on boot, or sometime after the boot. Every minute is indeed excessive.
Yes, the desktop can change this.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

Hi
Have a read of this old article;
http://old-en.opensuse.org/Disk_Power_Management


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.2 (x86_64) Kernel 3.4.6-2.10-desktop
up 2 days 18:39, 4 users, load average: 0.16, 0.23, 0.23
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

I absolutely hate disk spindown. So I add this to both /etc/init.d/boot.local and /etc/pm/sleep.d/20custom


hdparm -B 254 /dev/sda &&
exit 0

You have to create the latter file. Not sure if it has to be marked as executable or not, so I mark it as such.