mercredi 10 septembre 2025, 16:20 UTC+2

Vous n’êtes pas connecté.

  • Connexion
  • S’inscrire

AQUAR

Apprenti

Messages: 116

Localisation: Australia

1

mercredi 1 février 2012, 00:39

HDD Spin-Down

HDD Spin-Down


Automated HDD spin down can easily be added to the OpenWRT port for the MBox.
This is achieved by using a common Linux utility called HDPARM.

Hdparm is included in the packages for the gemini targe (on the Open-Gemini Wiki site).

Grab it with the opkg: package manager via the LUCI interface or manually on the command line interface of SSH.

Manual way:
1) Update the pakages available.
root@NAS:/# opkg update

Downloading http://opengemini.free.fr/openwrt/trunk/…ges/Packages.gz.
Inflating http://opengemini.free.fr/openwrt/trunk/…ges/Packages.gz.
Updated list of available packages in /var/opkg-lists/packages.

2) Fetch and install hdparm
root@NAS:/# opkg install hdparm
Installing hdparm (9.37-1) to root...

Downloading http://opengemini.free.fr/openwrt/trunk/…37-1_cs351x.ipk.

3) Configure hdparm.
root@NAS:/# hdparm -S 240 /dev/sda

/dev/sda: is HDD1 and -S 240 sets the standby to 20 minutes.

Make sure you use capital "S" and for other standaby times just google on hdparm :) .

AQUAR