Closed zegelin closed 5 years ago
According to spec, this error should mean your drive is security locked, and you need to unlock it first before running this media altering command. While the spec provides security send/receive commands, it does not define the security protocol so it will be implementation specific and likely require a vendor tool to unlock.
If the device implements a very common security protocol like TCG OPAL, a generic tool like https://github.com/Drive-Trust-Alliance/sedutil might be able to provide more information on its security implementation.
Ah, good to know. I did try searching for that code but was unable to find anything that pointed towards the cause. Is the NVMe spec available publicly, so that if I see errors in the future I can look them up?
I did find http://nvmexpress.org/wp-content/uploads/NVM-Express-1_3c-2018.05.24-Ratified.pdf, but having a quick read (+ find) through the document I can't see that error code.
Yes, the spec is public and you're linking to the most current public revision (for now).
This error is defined in "Figure 31: Status Code - Generic Command Status Values" in the "0Ch" row.
When trying to run
nvme format
I get the following error:The device is a M.2 ADATA (XPG) SX8000NP: