Re: SATA/SAS commands

From: Warner Losh <imp_at_bsdimp.com>
Date: Wed, 4 Aug 2021 13:19:19 -0600
On Wed, Aug 4, 2021 at 1:10 PM joe mcguckin <joe_at_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’s erase or format  feature 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
Received on Wed Aug 04 2021 - 19:19:19 UTC

Original text of this message