From a6ad01b08b93d9cbb83959821b90b1b80e20daa4 Mon Sep 17 00:00:00 2001 From: mihailstoynov Date: Fri, 15 Aug 2025 07:45:08 +0300 Subject: [PATCH] hd-idle: add page (#17466) Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> --- pages/linux/hd-idle.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/linux/hd-idle.md diff --git a/pages/linux/hd-idle.md b/pages/linux/hd-idle.md new file mode 100644 index 0000000000..1baa1722da --- /dev/null +++ b/pages/linux/hd-idle.md @@ -0,0 +1,16 @@ +# hd-idle + +> Spin down external disks after a period of idle time. +> More information: . + +- 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}}`