-
Notifications
You must be signed in to change notification settings - Fork 644
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
Abort sanitize command #752
Comments
Note: I tried |
Sanitize can take a long time. Is the sanitize progress marker progressing at all? |
Thank you for your answer, no this is what tipped me to the issue,
Reading the spec more in depth I tried to send an Abort Admin Command with
I am surely missing an argument, but I'm not sure which one. |
I tried with
However, the sanitize log hasn't bulged a bit. |
Well, I just rebooted into a different live OS (Solus 4.2) and during bootup I saw the same I/O error to the drive; then I installed the latest Github release of nvme-cli and lo and behold... The sanitize operation seems to have completed:
For the record, before rebooting into the new live env I had sent a This experience increased my feeling that we should expand the sanitize man/help page a bit to include the following information:
Thanks! |
Looks stuck. The abort command won't help because that only works on an active command id, and the sanitize command completes immediately while the operation runs in the background. So there's no command to abort. I don't know off the top of my head how to cancel an in progress sanitize, or even if there is a spec defined way. Maybe we can ask a friendly Intel engineer... @RevanthRajashekar, do you happen to know if the reporter can abandon an in progress sanitize on the reported model? SSDPEKNW512G8 |
Sorry if I haven't made myself clear in my previous comment: I meant that the operation has exited and I now have full Read/Write access to the drive again. I haven't checked back the meaning of
in the spec but results are there for sure: I can access and use my drive without issue again. So if you don't want to follow on my documentation-expansion suggestions (or would rather that I open a new issue or make a pull request), on my side this issue can be closed. Thank you again! |
Ah, I see. I was replying from my phone and didn't see your latest message. I was specifically looking at the comments preceding. An SSTAT of 101h is reserved in the most recent public spec. This is a not a spec compliant status, afaik. |
No progress in this bug report for a long time. If you think it's still relevant please reopen. |
Hi, it seems the sanitize Block Erase operation I started is stuck and I can't find the way to unblock it in the docs. Somewhere in the spec I read a failed sanitize operation could be resumed/aborted but I cannot fathom how to do so. Would you care to help or point me to a place (forum, IRC...) where I could get some help?
The command I used to start the sanitization was
nvme sanitize /dev/nvme0 -a 2
. I suddenly realized it was a Block Erase and not a Crypto Erase operation as I had intended, so I power cycled the machine in the hope it would abort it, but sanitize doesn't abort on restart of course.Progress has been stuck in the same state for over an hour.
edit: and if I try another sanitize command it fails with the following error:
And as expected, any read/write operation raises an error:
Thanks in advance for any help!
The text was updated successfully, but these errors were encountered: