1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-17 07:55:42 +02:00
tldr/pages/linux/hd-idle.md
mihailstoynov a6ad01b08b
hd-idle: add page (#17466)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
2025-08-15 10:15:08 +05:30

520 B

hd-idle

Spin down external disks after a period of idle time. More information: https://manned.org/hd-idle.

  • Start a service to manage hard drive spin down. By default hard disks will spin down after 10 minutes of inactivity:

systemctl start hd-idle

  • Spin down a disk immediately:

hd-idle -t {{/dev/sdX}}

  • Set disks to never spin down, then set explicit idle times (in seconds) for disks which have "sda" or "sdb" in their device name:

hd-idle -i 0 -a /dev/sda -i {{300}} -a /dev/sdb -i {{1200}}