markdown 使用Linux安全擦除NVMe SSD驱动器(显示Ubuntu / Debian但支持其他驱动器)

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown 使用Linux安全擦除NVMe SSD驱动器(显示Ubuntu / Debian但支持其他驱动器)相关的知识,希望对你有一定的参考价值。

In order to securely wipe an NVME drive you can use the `nvme-cli` package that provides the `nvme` command
`nvme` only exists in the root path so you have to use `sudo nvme`.

For Debian you need to add jessie-backports (on jessie) and it may be in the newer version default repos.
For Ubuntu it should be available in the default repos from Xenial onwards, there may be a PPA if you need
it on earlier versions.

You can find your devices with `sudo nvme list` and securely format with `sudo nvme /dev/nvme0n1 --ses=1`.
You can also explicitly add a namespace but I haven't seen or setup a drive with multiple yet.

Soon I'd like to make an extremely tiny netbootable image with Alpine or Debian to boot with https://netboot.xyz
as pulling down the Debian LiveCD and adding the extra repository just to run a couple commands was overkill.

以上是关于markdown 使用Linux安全擦除NVMe SSD驱动器(显示Ubuntu / Debian但支持其他驱动器)的主要内容,如果未能解决你的问题,请参考以下文章

markdown 擦除ESP32

linux 不支持NVME

Linux 扩容根目录

Windows安全擦除硬盘擦除器

在单个链表线程中擦除和插入是不是安全?

Linux下使用bcwipe擦除磁盘空间