Date: Fri, 21 Mar 2014 09:45:32 -0400 From: Robert Huff <roberthuff@rcn.com> To: questions@freebsd.org Subject: Re: atacontrol -> camcontrol in FreeBSD10+ Message-ID: <532C427C.6080504@rcn.com>
next in thread | raw e-mail | index | archive | help
>> 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 <bus, lun or "all" > # camcontrol devlist > # camcontrol start <lun> > # camcontrol stop <lun> > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?532C427C.6080504>