From owner-freebsd-questions@FreeBSD.ORG Fri Feb 4 16:33:15 2005 Return-Path: <owner-freebsd-questions@FreeBSD.ORG> Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3B2316A4CE for <freebsd-questions@freebsd.org>; Fri, 4 Feb 2005 16:33:15 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C07F43D58 for <freebsd-questions@freebsd.org>; Fri, 4 Feb 2005 16:33:15 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.1) id j14GXEKA086589 for freebsd-questions@freebsd.org; Fri, 4 Feb 2005 10:33:14 -0600 (CST) (envelope-from dan) Date: Fri, 4 Feb 2005 10:33:14 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: freebsd-questions@freebsd.org Message-ID: <20050204163314.GI25463@dan.emsphone.com> References: <20050204152247.GA15942@SDF.LONESTAR.ORG> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050204152247.GA15942@SDF.LONESTAR.ORG> X-OS: FreeBSD 5.3-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i Subject: Re: camcontrol cdb to disconnect drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 04 Feb 2005 16:33:15 -0000 In the last episode (Feb 04), Kevin A. Pieckiel said: > I want to replace a 9 GB SCSI drive with an 18 GB SCSI drive. All > the hardware supports hot-swapping. Just for kicks, I thought I'd > try to turn the drive off via SCSI commands and replace it without > rebooting. > > The camcontrol utility doesn't have a disconnect command or a stop unit > command (that I can find), so I was going to try to use 'camcontrol cdb' $ camcontrol |& grep stop camcontrol stop [dev_id] [generic args] Works for me. There's also a 'start' command. -- Dan Nelson dnelson@allantgroup.com