Saturday, November 18th 2017, 8:29pm UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to NAS Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

AQUAR

Trainee

Posts: 100

Location: Australia

1

Wednesday, February 1st 2012, 12:39am

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