From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 4 02:09:36 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 742281065693 for ; Thu, 4 Feb 2010 02:09:36 +0000 (UTC) (envelope-from erich@alogreentechnologies.com) Received: from nomoremozzie.com (nomoremozzie.com [67.212.226.44]) by mx1.freebsd.org (Postfix) with ESMTP id 3E2748FC15 for ; Thu, 4 Feb 2010 02:09:36 +0000 (UTC) Received: from [192.168.0.110] ([112.199.163.122]) (authenticated bits=0) by nomoremozzie.com (8.13.1/8.13.1) with ESMTP id o1429Id1012662; Wed, 3 Feb 2010 19:09:34 -0700 From: Erich Dollansky Organization: ALO Green Technologies Pte Ltd To: freebsd-hackers@freebsd.org Date: Thu, 4 Feb 2010 10:09:03 +0800 User-Agent: KMail/1.9.10 References: <201002031343.o13Dhj7i052507@lurza.secnetix.de> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201002041009.05222.erich@alogreentechnologies.com> X-Mailman-Approved-At: Thu, 04 Feb 2010 02:18:05 +0000 Cc: alexbestms@wwu.de, Oliver Fromme , jkim@freebsd.org Subject: Re: Spin down HDD after disk sync or before power off X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2010 02:09:36 -0000 Hi, let me do. On 04 February 2010 am 04:44:04 Warren Block wrote: > On Wed, 3 Feb 2010, Oliver Fromme wrote: > > > Alexander Best wrote: > > No -- *Please* make sure that the disks are only spun down > > upon an actual power-off command (i.e. when reboot() is > > Could you elaborate a little on why that's bad? It seems like it would > be similar to a standby/resume action. > every disk has a limited number of restarts before it dies. In case of a reboot, it is already known when the command is given that the machine will restart without being powered of. If you spin-down the disk, you lose one start cycle. It is not that important but if it can be done with just one if, please, just do it. Erich