Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2531

Raspberry Pi OS • Re: Hard drives that won't go to sleep under Linux

$
0
0
It is all Debian Bookworm repos (so 64 bit). And also in 32bit Raspbian Bookworm.

Code:

sudo apt install hd-idle
Add a line like this to /etc/default/hd-idle for you specific HDD:
HD_IDLE_OPTS="-i 0 -a /dev/disk/by-id/wwn-0x5000c5007b1a6be2 -i 480 -l /var/log/hd-idle.log"

And 'man hd-idle' for all info
Then:

Code:

sudo systemctl enable hd-idle.servicesudo systemctl start hd-idle.service

Statistics: Posted by redvli — Mon Dec 16, 2024 8:54 pm



Viewing all articles
Browse latest Browse all 2531

Trending Articles