Skip to content
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 flush commande #174

Closed
limbo127 opened this issue May 3, 2017 · 3 comments
Closed

nvme flush commande #174

limbo127 opened this issue May 3, 2017 · 3 comments

Comments

@limbo127
Copy link

limbo127 commented May 3, 2017

hello,
nvme flush /dev/nvme0n1 or nvme flush /dev/nvme0 is under error with :
IO command error:INVALID_NS(b)
I do not understand.

Regards,
Nicolas

@keithbusch
Copy link
Contributor

By default, the flush command is sent for "all namespaces". Some controllers don't support that mode (even though they only have one namespace ...), so you have to explicitly set the namespace you want to flush. THat's that "-n" parameter, so something like nvme flush /dev/nvme0n1 -n 1 should work.

As an enhancement, if you specify a block device, we probably should override the default with the block handle's nsid.

@keithbusch
Copy link
Contributor

Was the suggestion helpful, or are you still experiencing an issue?

@limbo127
Copy link
Author

limbo127 commented May 12, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants