atacontrol -> camcontrol in FreeBSD10+
Robert Huff
roberthuff at rcn.com
Fri Mar 21 13:45:36 UTC 2014
>> 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
More information about the freebsd-questions
mailing list