linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tapani Tarvainen <raid@tapanitarvainen.fi>
To: "Majed B." <majedb@gmail.com>
Cc: jahammonds prost <gmitch64@yahoo.com>, linux-raid@vger.kernel.org
Subject: Re: Array Power Management
Date: Mon, 7 Sep 2009 15:55:23 +0300	[thread overview]
Message-ID: <20090907125522.GL1933@hamsu.tarvainen.info> (raw)
In-Reply-To: <70ed7c3e0909070257y4bec456h6de9cc6d2981c8ce@mail.gmail.com>

On Mon, Sep 07, 2009 at 12:57:33PM +0300, Majed B. (majedb@gmail.com) wrote:

> If you're going to spin down the disks, you'd need to unmount the
> array first to ensure your data is fine, and after a spin-up then you
> mount the array again.

You don't needo to unmount it: just leave it mounted, and it will
automatically spin up when accessed.
I've been doing just that with a backup (rsnapshot) server for
a some time, works just fine.

> I would suggest you buy a meter to measure how much power your storage
> is consuming before you decide on your next action.

In my case the total power consumption went down by over 50%
(the disks stay powered down by about 85% of the time).

> On Mon, Sep 7, 2009 at 6:48 AM, jahammonds prost<gmitch64@yahoo.com> wrote:
> > I've been becoming interested in the power consumption of the arrays I have on a couple of servers here that are basically used as media servers. Since they're not being used when I'm at work, I was looking at the possibility of spinning the disks down during certain times, and having them either spin up at a set time, or (ideally), when there is disk activity.
> >
> > I can do this on single drives using hdparm -S to set the spindown timeout, and the disks will spin up on activity as needed. Is there something similar I can do with an md array?

I simply do it with every individual disk of the array.

-- 
Tapani Tarvainen

  parent reply	other threads:[~2009-09-07 12:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-07  3:48 Array Power Management jahammonds prost
2009-09-07  9:57 ` Majed B.
2009-09-07 10:19   ` Jon Hardcastle
2009-09-07 14:02     ` jahammonds prost
2009-09-07 14:05       ` Majed B.
2009-09-07 12:55   ` Tapani Tarvainen [this message]
2009-09-07 13:37     ` jahammonds prost
2009-09-10 16:51 ` Matt Garman
2009-09-11 12:27   ` Ryan Wagoner

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=20090907125522.GL1933@hamsu.tarvainen.info \
    --to=raid@tapanitarvainen.fi \
    --cc=gmitch64@yahoo.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=majedb@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).