Debian / Ubuntu / OMV: HD Idle: HDD Standby

 

After my HDDs did not want to move into standby mode (spin-down) after the set time or too early, I was looking for an alternative to the power management of the HDDs.

I have 4 different HDDs, from different manufacturers with different sizes in a BTRFS Raid1 array. Theoretically, all 4 HDDs should behave the same, but some go into standby mode when activating the power saving mode during operation, others not at all ...

While researching for a solution, I came across hd-idle.

This variant is completely independent from the firmware, i.e. from the power management of the hard disk: The service monitors the access to all hard disks and treats them all the same. Of course, the power management of the hard disk should be deactivated for this.

Installation

apt-get install debhelper
mkdir hd-idle_download
cd hd-idle_download
wget sourceforge.net/projects/hd-idle/files/hd-idle-1.05.tgz
tar xvfz hd-idle*.tgz
cd hd-idle
dpkg-buildpackage
sudo apt-get install build-essential
dpkg-buildpackage
cd ..
dpkg -i hd-idle_*.deb
sudo nano /etc/default/hd-idle
# start hd-idle automatically?
START_HD_IDLE=true

timeout to 20minutes

HD_IDLE_OPTS="-i 1200 -l /var/log/hd-idle.log"

Control with:

service --status-all

or

sudo service hd-idle status

start with:

sudo service hd-idle start

stop with:

sudo service hd-idle stop
positive Bewertung({{pro_count}})
Rate Post:
{{percentage}} % positive
negative Bewertung({{con_count}})

THANK YOU for your review!

Publication: 2022-09-23 from Bernhard | Übersetzung Deutsch |🔔 | Comments:0

When Ubuntu stops responding: Linux Memory Leak | Linux | Debian or Ubuntu kernel update or change- current kernel

Top articles in this section


Fan control Linux Debian: Fancontrol

After I installed a fan in my NAS, it always ran at top speed. In the BIOS I could set the speed, but the automatic mode did not work properly. Using the service fancontrol the speed of the fan can be linked to any sensor and any threshold and controlled automatically.


Debian or Ubuntu kernel update or change- current kernel

The currently available Linux kernel has the version: 6.7.6 (found: 2024-02-24). Source: www.kernel.org. The Linux distributions, as an example Debian or Ubuntu used new kernel versions only with some delay, accordingly the used kernel versions are usually somewhat older. Which kernel is active on a Linux system can be read out with the following command:


Linux folder used space - Bash TreeSize

To find out which folder needs how much space, the command “du” can be used on Debian. For an even better overview there is the commandline tool ncdu, which can analyze all folders similar to TreeSize.

Questions / Comments


By continuing to browse the site, you agree to our use of cookies. More Details