public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ralf <ralf+gentoo@ramses-pyramidenbau.de>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Problem with power management of SATA hard drives
Date: Wed, 11 Jun 2014 15:12:32 +0200	[thread overview]
Message-ID: <539855C0.4060209@ramses-pyramidenbau.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 1551 bytes --]

Hi there,

I'm using Gentoo ~amd64 on my NAS.

This is my setup:
Mainboard - Asus E35M1
CPU - AMD E350
HDD - 1x 500GiB WD Caviar Green WD5000AADS (root)
HDD - 4x 3TiB WD Caviar Green WD30EZRX (Raid10)

As these hard drives are desktop hard drives and not designed for 24/7
purposes, I want to spin them down when they are not in use.
(And in fact, they will probably be idling most of the time, so let's
save energy)

I'm able to force spin down those drive by using hdparm -y. hdparm -C
then tells me, that they switched from active/idle to standby.
Setting standby-time using hdparm -S also seems to work fine:

    hdparm -S 10 /dev/sdb

    /dev/sdb:
     setting standby to 10 (50 seconds)

But this does not standby my drive after 50 seconds. So I tried to set
the Power Management Level:

    hdparm -B 5 /dev/sdb

    /dev/sdb:
     setting Advanced Power Management level to 0x05 (5)
     HDIO_DRIVE_CMD failed: Input/output error
     APM_level      = not supported


Obviously, my system does not support APM what I can hardly believe...
So I tried to enable APM but my kernel configuration doesn't allow me to
enable APM support as long as I use a 64 bit kernel - APM option is only
available for 32 bit kernels.

What am I doing wrong? My hardware is *relatively* new and I don't
believe that it doesn't support those power management features.

But besides that, does anyone have further tips or tricks to protect
hard drives? E.g. try to minimize Load Cycle Count, ...

Output of hdparm -I: http://pastebin.com/RyAU6u8T

Cheers,
  Ralf

[-- Attachment #2: Type: text/html, Size: 2218 bytes --]

             reply	other threads:[~2014-06-11 13:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-11 13:12 Ralf [this message]
2014-06-11 13:40 ` [gentoo-user] Problem with power management of SATA hard drives thegeezer
2014-06-11 14:16   ` Ralf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=539855C0.4060209@ramses-pyramidenbau.de \
    --to=ralf+gentoo@ramses-pyramidenbau.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox