From owner-freebsd-questions@freebsd.org Mon Aug 24 18:52:50 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 198D99C11EA for ; Mon, 24 Aug 2015 18:52:50 +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 E7DCB1EF6 for ; Mon, 24 Aug 2015 18:52:49 +0000 (UTC) (envelope-from chrisstankevitz@gmail.com) Received: by igfj19 with SMTP id j19so63356580igf.1 for ; Mon, 24 Aug 2015 11:52:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=yR5xSs17VUKRoo3qsugynGsM7iq5kdB+oOKY+ftpgIc=; b=AZYFRxYwQewdJ707Wt9gUCLODVBKAGc68xavM2jyC36eqe/oCBaLizyl5qemv2rU4+ dceB7YPUQQYK+9r9tZr6hUg3YPnU/CbL09/XHMGd1+cwruAFNzZdpY0wAxaqrS6ifQ33 5jXdDDJRkdfJam/TEhVhjTF8K/40+k0oeHHywP7h8KkfBHVIGitcWG2JpGH5xRKfUFvf MOdBKWz/wXwmO5T22xJRvc1aNoIFeMano3RCw0Ka0L6YKXOCMUoPTdl4f8hmvYUVdjDo Yuu1MP8zB2Og1EaU12Ouy1IIXbn8bRmguIASMBcunAuZmX5Mi5PzGo4XorUBZTiLHLGb 8O0w== MIME-Version: 1.0 X-Received: by 10.50.4.102 with SMTP id j6mr16439302igj.40.1440442369295; Mon, 24 Aug 2015 11:52:49 -0700 (PDT) Received: by 10.79.107.151 with HTTP; Mon, 24 Aug 2015 11:52:49 -0700 (PDT) Date: Mon, 24 Aug 2015 11:52:49 -0700 Message-ID: Subject: Stop using a SATA drive From: Chris Stankevitz To: 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 18:52:50 -0000 How can I tell FreeBSD to stop using a SATA drive? I'd like to pull it from my machine (while the machine is running) but I'd like to be confident that nothing is using it. I imagine I would feel confident that nothing is using it if the drive disappeared from /dev and it stopped spinning. "camcontrol stop" did not accomplish this (that was a WAG -- camcontrol man page says that 'stop' only sends the 0x1B command whatever that means). Please let me know if you can imagine a better place for me to ask this question or learn more about the process. Chris