linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alan Cox <gnomes@lxorguk.ukuu.org.uk>
To: Jeff Chua <jeff.chua.linux@gmail.com>
Cc: Ming Lei <tom.leiming@gmail.com>, lkml <linux-kernel@vger.kernel.org>
Subject: Re: How to secure erase PCI-E NVME SSD connected via USB3?
Date: Thu, 2 Aug 2018 13:29:56 +0100	[thread overview]
Message-ID: <20180802132956.6b7110ed@alans-desktop> (raw)
In-Reply-To: <CAAJw_Zvaw8yoyejg5T6CtRFjoS4i_EBYKRVWocpH+mpwfaVC1Q@mail.gmail.com>

> # hdparm --user-master u --security-erase p /dev/sda
> (returns immediately and does nothing).
> 
> I've tried hdparm on an SSD connected via USB3 and it secure-erased ok.
> 
> Anyone working on this?

Sounds to me like you need to contact the vendor of the interface in
question. If it accepted a security erase command and didn't do it then
it's broken. It's at liberty to refuse it, or report it doesn't know what
you are talking about, but if it just returned and after re-plugging the
device its still using the old keys then it or the device is busted and
it's not something the OS can do much about.

Alan

  reply	other threads:[~2018-08-02 12:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-29  9:09 How to secure erase PCI-E NVME SSD connected via USB3? Jeff Chua
2018-07-31 11:07 ` Ming Lei
2018-08-01  5:02   ` Jeff Chua
2018-08-01 14:52     ` Jeff Chua
2018-08-02 12:29       ` Alan Cox [this message]
2018-08-02 12:56         ` Jeff Chua

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180802132956.6b7110ed@alans-desktop \
    --to=gnomes@lxorguk.ukuu.org.uk \
    --cc=jeff.chua.linux@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tom.leiming@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).