Hello,
First of all thank you for the work on LibreELEC.
I have few HDD attached via the USB interface to my Rock64. I would want to be able spin down all disks after some inactivity. Two disks spin down fine using the pre-installed hdparm
. However, my 3rd disk (Segate) requires sdparm
to spin it down (this disk has SCSI interface). As I understand for LibreELEC packages cannot be installed by the user.
Can the sdparm
be added to the distribution as well with your next release?
Right now, my workaround is to run a docker debian container in privileged mode to be able to install sdparm
and spin down the disk:
Code
sdparm --flexible -6 -l --save --set SCT=54000 /dev/sdb
sdparm --flexible -6 -l --save --set STANDBY=1 /dev/sdb
(54000 * 0.1s) = 1.5h
Docker:
Code
docker run --rm --privileged --device=/dev/sda:/dev/sda -it arm64v8/debian
apt-get update
apt-get install sdparm -y
Version: