linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jon Hardcastle <jd_hardcastle@yahoo.com>
To: jahammonds prost <gmitch64@yahoo.com>, "Majed B." <majedb@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: Array Power Management
Date: Mon, 7 Sep 2009 03:19:28 -0700 (PDT)	[thread overview]
Message-ID: <342934.45030.qm@web51305.mail.re2.yahoo.com> (raw)
In-Reply-To: <70ed7c3e0909070257y4bec456h6de9cc6d2981c8ce@mail.gmail.com>

--- On Mon, 7/9/09, Majed B. <majedb@gmail.com> wrote:

> From: Majed B. <majedb@gmail.com>
> Subject: Re: Array Power Management
> To: "jahammonds prost" <gmitch64@yahoo.com>
> Cc: linux-raid@vger.kernel.org
> Date: Monday, 7 September, 2009, 10:57 AM
> 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.
> 
> I would suggest you buy a meter to measure how much power
> your storage
> is consuming before you decide on your next action.
> 
> Personally, I'd turn off the machine altogether if it's not
> needed
> during working hours (assuming no one accesses through
> VPN). Check the
> BIOS, it may have the capability to wake up the machine on
> a certain
> date & time (So you can specify to turn itself on daily
> @ 8 AM).
> If not, you should have Wake-up On LAN support, so if you
> turn off the
> machine, another machine (a monitoring server) can turn it
> on for you
> (just put the wake-up on LAN command as a cron job to
> execute daily --
> perhaps exclude holidays).
> 
> 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 can see there's a /sys/block/md0/power/wakeup file,
> but I can't seem to find any documentation on it. I have
> thought about doing an hdparm -S on the array disks, but I
> suspect that would be A Bad Thing (tm).
> >
> > Does anyone have any advice/pointers? The servers are
> currently running fc9 - I'd like them to be Centos, but had
> to go with fc9, as I needed Port Multiplier support.
> >
> >
> > Graham
> >
> >
> >
> > --
> > To unsubscribe from this list: send the line
> "unsubscribe linux-raid" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >
> 
> 
> 
> -- 
>        Majed B.
> --
> To unsubscribe from this list: send the line "unsubscribe
> linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

This is interesting.. I have the -S set for all my 6 drives in the array and have for some time and I do not unmount the array - access wakes the drives up - usually most of them, sometimes only a few of them. The only part of this that has caused me any problems are scheduled smartd checks - these cause timeout errors.

The timeout is between 30mins and 1hr as if it is over 1 hour smart will keep them awake forever. In my case, if they are not used for 30mins; they wont be used for several hours.

-----------------------
N: Jon Hardcastle
E: Jon@eHardcastle.com
'Do not worry about tomorrow, for tomorrow will bring worries of its own.'
-----------------------


      
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2009-09-07 10:19 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 [this message]
2009-09-07 14:02     ` jahammonds prost
2009-09-07 14:05       ` Majed B.
2009-09-07 12:55   ` Tapani Tarvainen
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=342934.45030.qm@web51305.mail.re2.yahoo.com \
    --to=jd_hardcastle@yahoo.com \
    --cc=Jon@eHardcastle.com \
    --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).