Date: Fri, 21 Mar 2014 14:20:06 +0100 From: Polytropon <freebsd@edvax.de> To: Robert Huff <roberthuff@rcn.com> Cc: questions@freebsd.org Subject: Re: atacontrol -> camcontrol in FreeBSD10+ Message-ID: <20140321142006.a0868d42.freebsd@edvax.de> In-Reply-To: <532C34ED.2070609@rcn.com> References: <532C34ED.2070609@rcn.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 21 Mar 2014 08:47:41 -0400, Robert Huff wrote: > I just updated a system to: > > FreeBSD 11.0-CURRENT #0 r263263: Mon Mar 17 15:09:18 EDT 2014 amd64 > > According to src/UPDATING, this means "camcontrol" is now the > correct tool for both SCSI and IDE/ATA drives. > 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. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140321142006.a0868d42.freebsd>