Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #174587
| From | Alex Mestiashvili <alex@biotec.tu-dresden.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Does hdparm not run at startup anymore? |
| Date | 2016-11-12 17:00 +0100 |
| Message-ID | <sCISJ-3W6-5@gated-at.bofh.it> (permalink) |
| References | <sCskV-1Uz-17@gated-at.bofh.it> <sCB4R-7qv-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 11/12/2016 08:37 AM, Rainer Dorsch wrote:
> + Alexandre, hdparm maintainer
>
> On Friday 11 November 2016 23:11:24 Rainer Dorsch wrote:
>> Hi,
>>
>> I configure sdb in /etc/hdparm.conf to apm=64, but when I start the system, apm does not change. Interesting enough a /etc/init.d/hdparm restart fixes the problem:
>>
>>
>> root@Silberkiste:~# cat /etc/hdparm.conf
<skip>
>> /dev/sdb {
>> apm = 64
>> spindown_time = 5
>> }
>>
>> root@Silberkiste:~# hdparm -I /dev/sdb|grep level
>> Advanced power management level: 254
>> root@Silberkiste:~# /etc/init.d/hdparm restart
>> [ ok ] Restarting hdparm (via systemctl): hdparm.service.
>> root@Silberkiste:~# hdparm -I /dev/sdb|grep level
>> Advanced power management level: 64
>> root@Silberkiste:~#
>>
>>
>> Any insight, why I need the /etc/init.d/hdparm restart is very welcome.
>>
>> Thanks
>> Rainer
>>
>>
Hi Rainer,
I can not reproduce this problem on my machine:
lsb_release -c
Codename: jessie
hdparm -V
hdparm v9.43
egrep -v "^$|^#" /etc/hdparm.conf
/dev/sdc {
apm = 64
acoustic_management = 250
}
/dev/sdd {
apm = 128
}
/dev/sdf {
apm = 48
}
for disk in sdc sdd sdf; do echo $disk; hdparm -I /dev/$disk | egrep
"level:|acoustic"; done
sdc
Advanced power management level: 64
Recommended acoustic management value: 254, current value: 250
sdd
Advanced power management level: disabled
Recommended acoustic management value: 128, current value: 128
sdf
Advanced power management level: 48
Recommended acoustic management value: 208, current value: 0
The values are set after reboot or after init script restart.
Best,
Alex
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Does hdparm not run at startup anymore? Rainer Dorsch <ml@bokomoko.de> - 2016-11-11 23:20 +0100
Re: Does hdparm not run at startup anymore? Rainer Dorsch <ml@bokomoko.de> - 2016-11-12 08:40 +0100
Re: Does hdparm not run at startup anymore? Alex Mestiashvili <alex@biotec.tu-dresden.de> - 2016-11-12 17:00 +0100
Re: Does hdparm not run at startup anymore? Rainer Dorsch <ml@bokomoko.de> - 2016-11-12 21:20 +0100
Re: Does hdparm not run at startup anymore? Cindy-Sue Causey <butterflybytes@gmail.com> - 2016-11-14 15:50 +0100
Re: Does hdparm not run at startup anymore? Alex Mestiashvili <alex@biotec.tu-dresden.de> - 2016-11-16 13:30 +0100
Re: Does hdparm not run at startup anymore? Mirko Parthey <mirko.parthey@web.de> - 2016-11-13 14:10 +0100
csiph-web