From owner-freebsd-questions@freebsd.org Tue Mar 6 06:31:03 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 74457F33642 for ; Tue, 6 Mar 2018 06:31:03 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DA11884CF0 for ; Tue, 6 Mar 2018 06:31:02 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: by mail-wm0-x236.google.com with SMTP id t6so20008069wmt.5 for ; Mon, 05 Mar 2018 22:31:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:cc:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=qhE7/fWfJcur3VXoCzpSWUzB51gtJO34fsua3XajA30=; b=b2KWqLF7E7DBCm+/QMZ5Ej+sJHCAo1DLKuUbDcqn0rYFftkvfEeEP11ozMEDAUFETT AlCuauUU76a/uTjuOtcWSeOXONJugV4aRYckn61g75ryAsvvkM45K4UJjT1rQlFyugHX mBO8Ev+NDIlZs6GmDs/H4LEmHiZy9eqsIpMc1zFvsr86pnDiod4SPwCuXzF19cAXhbPE i08LAcEmtO4VIeitcuimHWEBGHq2ROPXLGgMdNPFl3HA1CZYQmycNH8aWq54xohJGHcZ srn4Wvs0z2LO9LbJNOYJLSNYAayFioL0NPUt1sVPyHMKSWjx9UXtnyQG8T2bJiYQR1eh OCHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:cc:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=qhE7/fWfJcur3VXoCzpSWUzB51gtJO34fsua3XajA30=; b=Isw/0T0FIWQS51aNb0IjFRAR3f46SGFW19PTmCH24jL4BMmnCkWY/U6h8bVpfx8oc0 gWKNCp9MZZgoSaDW5RCzQeFUzALxFML0cl9Oh5wcIqVPo7TWZy3A5xK/kbuxFZJt6NL6 TQm8FSN97ektN6B18X5NOyXFazmDHVs/quNP/9h+uNIPFwebvG54vZMGtCVjz/gguWX9 FYiLe+Z7Ek9/Kj6WJl99Gz2+XYOMLm6ASymDbEcAG7uzrXZoSuhbBeTNnqJ7czsp7/rp J6UAO728NgrhrzRuM+VK4OYDzVithZ9oPN2SrIM7nh5JUUmAXx0SX+9Wg5CJj1O47NQw vVAA== X-Gm-Message-State: APf1xPDYMoKSTcJ069d+hFB91Th4iCGPbjd5idg5sAuCJzv0u88Y2qDi SSLXaSy6RCrqABY1S13OeuN6jQ== X-Google-Smtp-Source: AG47ELu2gKn3lmaqTFUPV01L+A3greZg9x/z7PjWS4rAVzlUBkM1KAWlr5y/yXWq9b6YMmV82DRc5g== X-Received: by 10.80.169.227 with SMTP id n90mr21373519edc.201.1520317861053; Mon, 05 Mar 2018 22:31:01 -0800 (PST) Received: from Johans-MacBook-Air-2.local (53514933.cm-6-2b.dynamic.ziggo.nl. [83.81.73.51]) by smtp.googlemail.com with ESMTPSA id w2sm12682220edb.25.2018.03.05.22.31.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Mar 2018 22:31:00 -0800 (PST) Subject: Re: How to prevent HDD spin-down. To: "J.B." References: <99f2e64c-577c-20e1-b595-9b8391efaf8e@gmail.com> From: Johan Hendriks Cc: freebsd-questions@freebsd.org Message-ID: <4a967d5f-0f83-e23e-ded3-1c89d2469c0d@gmail.com> Date: Tue, 6 Mar 2018 07:30:59 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <99f2e64c-577c-20e1-b595-9b8391efaf8e@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: nl 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 06:31:03 -0000 Op 06/03/2018 om 03:37 schreef J.B.: > Hey. I purchased a new WD laptop hard disk drive, but it keeps > spinning down and parking its heads after 25 seconds of inactivity. > How can I disable that feature or extend the timeout to something less > idiotic? I checked the BIOS, but there's no setting for it. I booted > into a Linux (Debian-based) OS duel-booting on the same disk, and the > disk doesn't spin down, so either Linux is doing something to override > that feature, or FreeBSD is doing something to enable it (possibly a > package I installed). Thanks. > _______________________________________________ > 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" I do not think linux is doing something special. I think the disk on Linux do not spin down because the OS is touching the disk every so second for log or other things. Just install a fresh Ubuntu with no special options and boot it. You will see disk activity every x seconds even when the box is idle. On FreeBSD however there is almost no disk activity if a box is idle. So the disks is not touched for 25 seconds and the disk will spindown. If you are using Western Digital disks, there is a utility you can run to disable this feature or give it a timeout large enough so the os has touched the disk. It has been a long time since i used it and if i remember it worked only in DOS or windows. Just use google and search for your disk and disable headparking. regards Johan Hendriks