New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NVMe status: INVALID_OPCODE: The associated command opcode field in not valid(0x6001) #627
Comments
Your device is not correctly implementing the nvme protocol. There's nothing tooling can do about this, you can only complain to your vendor, or just purchase a more compliant drive. |
Eh, it could still be compliant since Format NVM is listed as an optional command. Check ' |
0x 1 7 |
Yes, that says format is supported. Sounds like a firmware bug to me. Either it needs to unset the bit or we shouldn't see that error status. |
If your drive is made by Samsung, there is a known bug that results in this error, the workaround is to suspend your computer first (systemctl suspend), then resume, then try formatting again. |
I also get
You mentioned |
Were you able to solve this problem @danarellano |
You don't do that. The vendor is supposed to do that because their implementation is broken. |
Version: nvme-1.9.143.g525a
sudo nvme format -s1 /dev/nvme0n1
NVMe status: INVALID_OPCODE: The associated command opcode field in not valid(0x6001)
sudo systemctl -i suspend
sudo nvme format -s1 /dev/nvme0n1
NVMe status: INVALID_OPCODE: The associated command opcode field in not valid(0x6001)
Any suggestions?
The text was updated successfully, but these errors were encountered: