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 1RBtkF-00014a-UD for garchives@archives.gentoo.org; Thu, 06 Oct 2011 19:36:40 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A901D21C128; Thu, 6 Oct 2011 19:36:30 +0000 (UTC) Received: from mx.virtyou.com (mx2.virtyou.com [178.33.32.244]) by pigeon.gentoo.org (Postfix) with ESMTP id 49E4421C0FE for ; Thu, 6 Oct 2011 19:35:37 +0000 (UTC) Received: from [192.168.2.43] (xdsl-87-79-196-24.netcologne.de [87.79.196.24]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx.virtyou.com (Postfix) with ESMTPSA id DC058DC04C for ; Thu, 6 Oct 2011 21:34:43 +0200 (CEST) Message-ID: <4E8E02D3.90703@wonkology.org> Date: Thu, 06 Oct 2011 21:34:43 +0200 From: Alex Schuster User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How can I power disk off? References: <4E8DFE1B.6060403@gmail.com> In-Reply-To: <4E8DFE1B.6060403@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: aa5f7671602556d0b8f5fdab2c85b36a Jarry writes: > In my server I have a few disks which must be running 24/7, > but I also have a single big hard-drive, which is used only > for a few minutes every day, just for backups. How could I > power disk off when not needed (and "on" again when needed) > in order to save a little power and prolong its life? Use hdparm -Y to spin it down immediately, or hdparm -S to set a duration of idle time until it will spin down automatically. See the hdparm man page for the -S parameter and more information. You can set the -S command in /etc/conf.d/hdparm. If you want the drive to spin down right after booting, do this in /etc/local.d/. Wonko