Date: Wed, 4 Aug 2021 13:19:19 -0600 From: Warner Losh <imp@bsdimp.com> To: joe mcguckin <joe@via.net> Cc: freebsd-fs <freebsd-fs@freebsd.org> Subject: Re: SATA/SAS commands Message-ID: <CANCZdfobXb4wCBFZ%2Bbt5HYXOz7jDVnT6uu0XTtv5nEtBDeWy%2Bg@mail.gmail.com> In-Reply-To: <53137D89-3405-4F2D-AE6A-46AC665F52F9@via.net> References: <53137D89-3405-4F2D-AE6A-46AC665F52F9@via.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000080b4df05c8c0aed9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Aug 4, 2021 at 1:10 PM joe mcguckin <joe@via.net> wrote: > Is there a tool that allows sending bare scsi commands to a drive? For > example, if I wanted to activate the drive=E2=80=99s erase or format fea= ture or > pull logs, etc. > Or, is there something close enough that I could modify? > camcontrol cmd is what I usually use, but it's quite low level. I've used it to write shell scripts to pull logs from $VENDOR. But sg3_utils makes most things a lot easier if you're pulling a standard log. Warner --00000000000080b4df05c8c0aed9--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfobXb4wCBFZ%2Bbt5HYXOz7jDVnT6uu0XTtv5nEtBDeWy%2Bg>