Dies ist eine alte Version des Dokuments!


idle3-tools

Western Digital WDC NAS Green Harddiscs

WD Green - Desktopfestplatten

Laut Western Digital sind ihre Platten der Serie „Green“ besonders umweltfreundlich. Das finde ich grundsätzlich nicht verkehrt. Leider scheinen aber alle diese Platten einen kritischen Konfigurationsfehler zu haben. Standardmäßig parken diese Platten ihre Schreib-/Leseköpfe nach fünf Sekunden Nichtbenutzung außerhalb des Plattenstapels, um Energie zu sparen. Das Feature hat die Firma „IntelliPark“ getauft. Das klingt nicht schlecht, ist es aber, wenn man die Herstellerspezifikation gelesen hat. Für lediglich 300.000 Parkvorgänge sind diese Festplatten ausgelegt. Noch schlechter wird es einem, wenn man bedenkt, dass Linuxmaschinen normalerweise nach ca. zehn bis 30 Sekunden die Dateisystemcaches auf die Platten wegschreiben.

Bereits nach 13 Stunden in Betrieb war der Zähler der Parkvorgänge - Load Cycle Count - meiner neuen Platte bereits bei über 400. Meine anderen Platten haben nach mehreren Jahren jeweils nur knappe 2000 dieser Parkvorgänge.

Quelle1)

If you have a Western Digital EADS or EARS drive, please check you SMART information before it's too late :

$ sudo smartctl -A /dev/sda | grep "^193"
193 Load_Cycle_Count        0x0032   253   253   000    Old_age   Always       -       14493

If the Load cycle count exceeds 1000, you're probably affected by the idle3 timer problem.

Syntax

idle3ctl [options] /dev/device

    -h : display help
    -l : show license and exit immediately
    -V : show version and exit immediately
    -v : verbose output
    --force : force even if no Western Digital HDD are detected
    -g : get raw idle3 timer value (default action)
    -g100 : get idle3 timer value as wdidle3 v1.00 would display it
    -g103 : get idle3 timer value as wdidle3 v1.03/v1.05 would display it
    -d : disable idle3 timer
    -s<value> : set idle3 timer raw value (1-255)

Examples

Get idle3 timer raw value

# idle3ctl -g /dev/sda

Disable idle3 timer

# idle3ctl -d /dev/sda

Set the idle3 timer to 10s

# idle3ctl -s 100 /dev/sda

Compatibility

Idle3ctl should be compatible with all modern Western Digital HDD driven by a real SATA controler. Compatibility with SATA-to-USB adapters is uncertain. Since idle3ctl uses SMART ATA commands to get and set the idle3 timer, it should work if SMART information can be read from your drive.

WARNING

The idle3 timer seems to be a power on only setting. That means that the drive needs to be powered OFF and then ON to use the new setting.

Download

Source code and releases can be found on the SourceForge project pages.

Compilation / Installation

After downloading the tarball, for example the 0.9.1 release (idle3-tools-0.9.1.tar.gz), uncompress it :

$ tar xzvf idle3-tools-0.9.1.tar.gz

Change to the source directory, and compile the tool :

$ cd idle3-tools-0.9.1
$ make

You should get the idle3ctl executable :

$ ls idle3ctl
idle3ctl
$ ./idle3ctl -V
idle3ctl v0.9.1

And run it with root permissions to get or set the idle3 value :

$ sudo ./idle3ctl -g /dev/sda

Now you can optionnally install the tool to the /sbin directory

$ sudo make install

Please note that, as the idle3 setting of your disk is permanent, you only need to run idle3ctl once per drive.

 
Nach oben
idle3-tools.1407500718.txt.gz · Zuletzt geändert: 2024/02/29 13:35 (Externe Bearbeitung)
chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0
DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp   Dogecoin Donations Accepted Here    DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp  DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp