It might be that systemd does not like that rc.local is owned
by "user" rather then "root"
Unfortunately
# chown root:root /etc/rc.d/rc.local
did not solve the problem, instead manually running the script as root,
changed the
/sys/class/scsi_host/host0/link_power_management_policy
state to
med_power_with_dipm
In powertop I noticed a saving of ~1 Watt. I will send you complete test
results as you requested in
https://hansdegoede.livejournal.com/18412.html
For people who wants to stress the disk:
# dnf install phoronix-test-suite
$ phoronix-test-suite install disk
$ phoronix-test-suite run disk
I will run disk suite tests many times per day for 2 weeks