Hello :), I post because I have a problem that I can not solve, my knowledge being limited:
My hard drive makes a lot of noise, because every one or two minutes the hard drive makes a sort of pause (no noise, fan too), then after a few seconds it starts to spin again (while making a dirty sound, the diode which lights up to show that it works).
The noise is annoying, but itās especially for the life of the hard drive that Iām afraid.
I am on opensuse leap 42.3, this behavior is already done since opensuse leap 42.1.
Note that I do not have this problem with my xubuntu or windows partition.
it works on reboot now with the command in boot.local thanks
**But **after suspend : APM_level = 96 again ! I search on arch wiki and found this
**"APM level reset after suspend "
https://wiki.archlinux.org/index.php/hdparm
**
This does not work on opensuse. After reboot the value returns to 254, ok, but after suspend, 96 againā¦ If you have other suggestions for after suspend wich works too ?
The return of the command systemctl status apm.service:
systemctl status apm.service
ā apm.service - Local system resume actions
Loaded: loaded (/etc/systemd/system/apm.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since jeu. 2017-08-03 00:50:55 CEST; 59s ago
Process: 2909 ExecStart=/usr/bin/hdparm -B 254 /dev/sda (code=exited, status=203/EXEC)
Main PID: 2909 (code=exited, status=203/EXEC)
aoƻt 03 00:50:55 pc-f.home systemd[1]: Started Local system resume act....
aoƻt 03 00:50:55 pc-f.home systemd[1]: apm.service: Main process exite...C
aoƻt 03 00:50:55 pc-f.home systemd[1]: apm.service: Unit entered faile....
aoƻt 03 00:50:55 pc-f.home systemd[1]: apm.service: Failed with result....
Hint: Some lines were ellipsized, use -l to show in full.
journalctl -u apm
Journal file /var/log/journal/87d9f86908abc7d1f994775259806abc/system@000555c29a51b692-1f9a9d5a6131a485.journal~ is truncated, ignoring file.
-- Logs begin at mar. 2017-08-01 12:02:39 CEST, end at jeu. 2017-08-03 01:08:31 CEST. --
aoƻt 03 00:48:08 pc-f.home systemd[1]: Started Local system resume actions.
aoƻt 03 00:48:08 pc-f.home systemd[1]: apm.service: Main process exited, code=exited, status=203/EXEC
aoƻt 03 00:48:08 pc-f.home systemd[1]: apm.service: Unit entered failed state.
aoƻt 03 00:48:08 pc-f.home systemd[1]: apm.service: Failed with result 'exit-code'.
-- Reboot --
aoƻt 03 00:50:55 pc-f.home systemd[1]: Started Local system resume actions.
aoƻt 03 00:50:55 pc-f.home systemd[1]: apm.service: Main process exited, code=exited, status=203/EXEC
aoƻt 03 00:50:55 pc-f.home systemd[1]: apm.service: Unit entered failed state.
aoƻt 03 00:50:55 pc-f.home systemd[1]: apm.service: Failed with result 'exit-code'.
Thank you for helping me, itās complicated for me, but I learn things