From owner-freebsd-questions@freebsd.org Mon Aug 24 22:15:26 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D1E0D9C139C for ; Mon, 24 Aug 2015 22:15:26 +0000 (UTC) (envelope-from chrisstankevitz@gmail.com) Received: from mail-ig0-x22f.google.com (mail-ig0-x22f.google.com [IPv6:2607:f8b0:4001:c05::22f]) (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 A5AF11D48 for ; Mon, 24 Aug 2015 22:15:26 +0000 (UTC) (envelope-from chrisstankevitz@gmail.com) Received: by igbjg10 with SMTP id jg10so73245120igb.0 for ; Mon, 24 Aug 2015 15:15:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=PpTJucLZNtAn93v3ZucD1xp4f0w70bjoPWGBJOLPC8g=; b=KpVPcIpPZomjG/U4LTrn4jZmjA/4tjEyiLGw9uaS/5LgVPOB5MB/1i7od4qAlvr9xr qlCd1nw4S4CXsfFBFq203PG9pjj18a5Q6L3SPqDieqYdwRO0kBOMvdKm4WDk7O33h09n mcN0wSJeBgnXcYjpkQOezP2cwQ1EqJmvmfPNnHtEcP/95GlcualMW0ykHjtA2VS7OXSl WXuaT6LWgV3MV0BBOgYFE08TSUYAF6lOMSFxkL8WKYxuoOUAU4/BTYUmfi7RG0ijEBeD bT0tvD9SDcx1v5Y4ucFRvzsbUtGw7D5/j3KuF7sw36csZPVlKeupN9m1S0/41jy+jI+6 yy0A== MIME-Version: 1.0 X-Received: by 10.50.141.201 with SMTP id rq9mr4829183igb.4.1440454526106; Mon, 24 Aug 2015 15:15:26 -0700 (PDT) Received: by 10.79.107.151 with HTTP; Mon, 24 Aug 2015 15:15:26 -0700 (PDT) In-Reply-To: <20150824214252.53aa04c6.freebsd@edvax.de> References: <20150824214252.53aa04c6.freebsd@edvax.de> Date: Mon, 24 Aug 2015 15:15:26 -0700 Message-ID: Subject: Re: Stop using a SATA drive From: Chris Stankevitz To: Polytropon Cc: freebsd-questions Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2015 22:15:26 -0000 On Mon, Aug 24, 2015 at 12:42 PM, Polytropon wrote: > Ye olde atacontrol had a "detach" option. Its equivalent > is "camcontrol stop" which you have discovered. This should > be sufficient. > > However, I'm doing this with SATA and external USB disks > a lot: Issue "sync", call umount, give it some seconds > to actually complete (!) those tasks, and then power it > off (external power supply off for USB, combined plug > removed from SATA disk). No problems so far. Polytropon, Thank you. I've been doing the same... but I assumed/hoped there was more I could do. I also shutdown smartd before pulling the drive, and start smartd afterwards. I hope there are not others. ("hope" is a common theme here... which is why I'm writing to the list) I didn't know that the heads were parked when the power is cut... but that is a relief to hear. Thanks again, Chris