From owner-freebsd-questions@FreeBSD.ORG Fri Mar 21 13:45:36 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D7B37DEA for ; Fri, 21 Mar 2014 13:45:36 +0000 (UTC) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9D64ABAB for ; Fri, 21 Mar 2014 13:45:36 +0000 (UTC) X_CMAE_Category: , , X-CNFS-Analysis: v=2.0 cv=buTO9Tmi c=1 sm=1 a=uNsD4W5u/UlQopoDAqU1YA==:17 a=r2AS94Ni9CsA:10 a=JWR_p_xARFIA:10 a=AaUjGI9IrlcA:10 a=IkcTkHD0fZMA:10 a=OA2lqS22AAAA:8 a=6bO4AmnGzFxhWGSQsrYA:9 a=QEXdDO2ut3YA:10 a=uNsD4W5u/UlQopoDAqU1YA==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: cm9iZXJ0aHVmZkByY24uY29t Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.mail=roberthuff@rcn.com; spf=neutral; sender-id=neutral Authentication-Results: smtp02.rcn.cmh.synacor.com header.from=roberthuff@rcn.com; sender-id=neutral Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.user=roberthuff; auth=pass (PLAIN) Received-SPF: neutral (smtp02.rcn.cmh.synacor.com: 209.6.39.223 is neither permitted nor denied by domain of rcn.com) Received: from [209.6.39.223] ([209.6.39.223:24404] helo=jerusalem.litteratus.org) by smtp.rcn.com (envelope-from ) (ecelerity 3.5.1.37854 r(Momo-dev:3.5.1.0)) with ESMTPA id B3/DB-59476-D724C235; Fri, 21 Mar 2014 09:45:35 -0400 Message-ID: <532C427C.6080504@rcn.com> Date: Fri, 21 Mar 2014 09:45:32 -0400 From: Robert Huff User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:27.0) Gecko/20100101 SeaMonkey/2.24 MIME-Version: 1.0 To: questions@freebsd.org Subject: Re: atacontrol -> camcontrol in FreeBSD10+ Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Mar 2014 13:45:36 -0000 >> This system has an external hard drive dock, connected to ada1 via >> eSATA. Every so often the drive gets swapped, causing it to disappear >> from /dev. >> Previously >> >> root> atacontrol ata0 detach >> root> atacontrol ata0 attach >> >> would get it back. >> I am unable how figure out the equivalent using camcontrol, in part >> because many of the commands are explicitly tagged "SCSI". >> Anybody out there know how to do this? > > Without further examination, I'd say this is > > # camcontrol rescan # camcontrol devlist > # camcontrol start > # camcontrol stop > > See "man camcontrol" for details. I did RTM, hence the comment about commands that mention SCSI. For example, "start" and "stop" do so, and I get Error received from stop unit command when I try it. Robert Huff