From nobody Wed Aug 04 19:14:20 2021 X-Original-To: freebsd-fs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id DA899137A92B for ; Wed, 4 Aug 2021 19:14:21 +0000 (UTC) (envelope-from mike@sentex.net) Received: from pyroxene2a.sentex.ca (pyroxene19.sentex.ca [IPv6:2607:f3e0:0:3::19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "pyroxene.sentex.ca", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gg1d94DHFz4n8J for ; Wed, 4 Aug 2021 19:14:21 +0000 (UTC) (envelope-from mike@sentex.net) Received: from [IPv6:2607:f3e0:0:4:91c3:756d:6073:1b6] ([IPv6:2607:f3e0:0:4:91c3:756d:6073:1b6]) by pyroxene2a.sentex.ca (8.16.1/8.15.2) with ESMTPS id 174JEK02033427 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Wed, 4 Aug 2021 15:14:20 -0400 (EDT) (envelope-from mike@sentex.net) Subject: Re: SATA/SAS commands To: joe mcguckin , freebsd-fs References: <53137D89-3405-4F2D-AE6A-46AC665F52F9@via.net> From: mike tancsa Message-ID: Date: Wed, 4 Aug 2021 15:14:20 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 In-Reply-To: <53137D89-3405-4F2D-AE6A-46AC665F52F9@via.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4Gg1d94DHFz4n8J X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On 8/4/2021 3:10 PM, joe mcguckin 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? > Try camcontrol and see if it does what you need     ---Mike