From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RBuCE-0007sw-FA for garchives@archives.gentoo.org; Thu, 06 Oct 2011 20:05:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9FE4A21C169; Thu, 6 Oct 2011 20:05:19 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id D663621C174 for ; Thu, 6 Oct 2011 20:04:14 +0000 (UTC) Received: by wyf19 with SMTP id 19so4043559wyf.40 for ; Thu, 06 Oct 2011 13:04:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; bh=k4T25xF9tyjcwNmcFNC+HgmIiqVgHLow0HYcdxZkCFQ=; b=FlXhL646bzPwU7gjhsC++RFiCkyTiHmwUrL9oV6GT7xwtI3LzfNMuby3oEBrb8WfC+ H4INyagi9QXD/63jwFktPYxyhVnlq6o4C6QDw7lC3DTHDzAMf1CHmeyWFtRHQQRfYOhM Y4EdbRozTEOGyVZJAnvNOOkjqiaEkdgntQKK4= Received: by 10.227.201.79 with SMTP id ez15mr1418752wbb.99.1317931454071; Thu, 06 Oct 2011 13:04:14 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Sender: paul.hartman@gmail.com Received: by 10.227.59.193 with HTTP; Thu, 6 Oct 2011 13:03:54 -0700 (PDT) In-Reply-To: References: <4E8DFE1B.6060403@gmail.com> From: Paul Hartman Date: Thu, 6 Oct 2011 15:03:54 -0500 X-Google-Sender-Auth: kpJFpvBzZ8XlXqe1qWyHiP0mwBw Message-ID: Subject: Re: [gentoo-user] How can I power disk off? To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: c616dba87b94cb4e4b4b9adf275571c7 On Thu, Oct 6, 2011 at 2:44 PM, Mark Knecht wrote: > Paul, > =A0 Would hdparm be advisable if the drive was part of a RAID? I suspect = not. > > =A0 I don't think this applies to the OP but for the sake of discussion > why not include RAID as part of the solution, if possible. I use hdparm to set power-saving on all members of my RAID5 and it works (in my case, I'm setting them to never spin-down). I created a file /etc/local.d/hd-power-level-fix.start containing one line: hdparm -B 254 /dev/sd[abcdef] which automatically sets those drives to never spin down. In my original recommendation, I hadn't considered hdparm's "spindown immediately" option. I was thinking of the -B command like I used above, to adjust the "spin down after X idle time" option. If all members of the RAID have the same idle time they'll probably all spin up and down together under normal usage (well, depending what kind of RAID it is, I suppose). In my case, I found the "click, whirr, click, whirr, click, whirr, click, whirr, click, whirr" waiting for 5 disks to spin-up when I accessed the RAID annoying, so I disabled it. (I have not done any power-consumption measurements to see what that's costing me...)