Ask advise for disk safely reuse

Shuo Chen shuo.chen at databricks.com
Thu Apr 21 21:50:58 PDT 2022


Hi teams,
I am investigating how to safely reuse the disk between different
customers and do a safe data cleaning. From the nvme-cli I see three
options:
nvme format
nvme sanitize
nvme write-zeros

I've tried all of these three methods and it looks like I can not read
any previous data by using the "dd" command anymore. I wonder what is
the difference between these three? My concern is writing zeros to the
whole disk is really time consuming, as a result, I wonder whether
"nvme format" is good enough to wipe the data.
Thanks



More information about the Linux-nvme mailing list