Date: Fri, 4 Feb 2005 10:33:14 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: freebsd-questions@freebsd.org Subject: Re: camcontrol cdb to disconnect drive Message-ID: <20050204163314.GI25463@dan.emsphone.com> In-Reply-To: <20050204152247.GA15942@SDF.LONESTAR.ORG> References: <20050204152247.GA15942@SDF.LONESTAR.ORG>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050204163314.GI25463>