On 10/27/2017 03:10 PM, D Greig wrote:
On 27/10/17 20:46, Pat Riehecky wrote:


On 10/27/2017 02:17 PM, D Greig wrote:
On 27/10/17 17:24, D Greig wrote:
Hi,

I am looking for help on how to stop/disable the HDD spin down option


I should add that the laptop has a fresh(yesterday) install of SL7.4.

"hdparm" was not present on the system, so I installed it from SL repo.

Now I am unsure as to the safest way to use it for the task.

In the past spindown is disabled by default.


This should probably get you going: https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.archlinux.org_index.php_hdparm-23Persistent-5Fconfiguration-5Fusing-5Fudev-5Frule&d=DwICaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=OAMtP0DWou0nlXG7Kmxo2enjXJfwb1DXS9fwcaESuTE&m=C1UH-_9koxexcg6HnyvwhfaZYbBiIvZquLGNYTxC38I&s=Ng2gXtcH7z8wLQGWIyJC_oBiIH6sRt2h1_41pCY7GEg&e=


Hi Pat,

That led to a fix.

Many thanks.

hdparm -B 255 /dev/sda
Sorted it.

now:
[root@mu dg]# hdparm -B /dev/sda

/dev/sda:
 APM_level    = off
[root@mu dg]# hdparm -B /dev/sda

/dev/sda:
 APM_level    = off

I can understand spindown might be useful on battery, quite dangerous on AC.

There used to be an option in "power manager", but not on SL7.4.


You may want to set laptop-mode depending on your usage - https://www.kernel.org/doc/Documentation/laptops/laptop-mode.txt

--
Pat Riehecky

Fermi National Accelerator Laboratory
www.fnal.gov
www.scientificlinux.org

Reply via email to