-
Notifications
You must be signed in to change notification settings - Fork 2
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
Tools directory changes: #31
Conversation
- Add readme.md demonstrating expected tool script usage for namespace manipulation - Add examples to nvme.sh - Extend create-write-delete.sh to format the namespace before deleting the namespace to see if delete_ns speeds up. Signed-off-by: Anthony Floeder <[email protected]> Add readme.md that demonstrates usage Signed-off-by: Anthony Floeder <[email protected]>
tools/nvme.sh
Outdated
./nvme.sh -t delete 1 | ||
./nvme.sh cmd id-ctrl | grep -E "^fr " # firmware level | ||
./nvme.sh cmd id-ctrl | grep -E "^mn " # model name | ||
./nvme.sh cmd format -f -n <namespace id> # format specified namespace |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use long form names so they are not as cryptic to the reader
@@ -57,6 +57,17 @@ case "$SIZE" in | |||
# Delete the logical volume to tidy up | |||
./lvm.sh delete | |||
|
|||
# Format the namespace to speed up deletion | |||
./nvme.sh cmd format -f -n 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indent issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see it.
tools/readme.md
Outdated
## Example script to walk the cycle | ||
|
||
```bash | ||
create-write-delete-namespaces.sh* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you want the wild card at the end?
Signed-off-by: Anthony Floeder <[email protected]>
1a8978f
to
ce0ed49
Compare
Signed-off-by: Anthony Floeder [email protected]
Add readme.md that demonstrates usage
Signed-off-by: Anthony Floeder [email protected]