From owner-freebsd-questions@freebsd.org Tue Mar 6 21:37:46 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90CA7F3191F for ; Tue, 6 Mar 2018 21:37:46 +0000 (UTC) (envelope-from freebsd@fongaboo.com) Received: from h4lix.wtfayla.net (helix.wtfayla.net [64.246.134.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3EE5D6CDF5 for ; Tue, 6 Mar 2018 21:37:45 +0000 (UTC) (envelope-from freebsd@fongaboo.com) Received: from localhost (localhost [127.0.0.1]) by h4lix.wtfayla.net (Postfix) with ESMTP id 60AEC81CBD9; Tue, 6 Mar 2018 16:31:58 -0500 (EST) Received: from h4lix.wtfayla.net ([127.0.0.1]) by localhost (h4lix.wtfayla.net [127.0.0.1]) (maiad, port 10024) with ESMTP id 81941-03; Tue, 6 Mar 2018 16:31:58 -0500 (EST) Received: from h4lix.wtfayla.net (h4lix.wtfayla.net [64.246.134.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by h4lix.wtfayla.net (Postfix) with ESMTPS id BBB2B81CBD7; Tue, 6 Mar 2018 16:31:57 -0500 (EST) Date: Tue, 6 Mar 2018 16:31:56 -0500 (EST) From: freebsd@fongaboo.com X-X-Sender: fongaboo@h4lix.wtfayla.net To: freebsd-questions@freebsd.org cc: "J.B." Subject: Re: How to prevent HDD spin-down. In-Reply-To: <045b9b33-5982-c19c-d009-31bfd2c8fd7d@gmail.com> Message-ID: References: <045b9b33-5982-c19c-d009-31bfd2c8fd7d@gmail.com> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2018 21:37:46 -0000 You didn't mention the line of WD drive, but I was offered this solution when trying to use a Caviar Green in my FreeNAS: https://forums.freenas.org/index.php?threads/hacking-wd-greens-and-reds-with-wdidle3-exe.18171/ https://youtu.be/J2eYyRI_F98 I haven't tried it myself yet but I wonder if it would apply to your situation. Unfortunately it's not a BSD-based solution and would require you to remove the drive and connect it directly to a DOS/Windows machine. I've also told that it needs to be a direct bus connection, and using things like a USB-to-ATA adapter would prevent the S.M.A.R.T. commands from being sent to the firmware of the drive. On Tue, 6 Mar 2018, J.B. wrote: > On 03/06/2018 04:00 AM, freebsd-questions-request@freebsd.org wrote: >> Re: How to prevent HDD spin-down. > > Thank you to everyone for your helpful tips and suggestions. You make FreeBSD > great. :) > > I tried the camcontrol suggestion first since it didn't require installing > anything, but it didn't seem to work. Tried sysutils/ataidle next since it > allows keeping spindown but with a reasonable timeout, and it seems to have > worked perfectly: ataidle -P 127 /dev/ada0. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >