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

Add the ability to quickly shutdown one or all pools #296

Closed
bmr-cymru opened this issue Apr 30, 2021 · 1 comment · Fixed by stratis-storage/stratisd#2949
Closed

Add the ability to quickly shutdown one or all pools #296

bmr-cymru opened this issue Apr 30, 2021 · 1 comment · Fixed by stratis-storage/stratisd#2949
Assignees

Comments

@bmr-cymru
Copy link
Member

In some circumstances (for e.g. testing when creating/tearing down configurations repeatedly on the same storage) it would be useful to be able to shut down either a specific Stratis pool, or all pools present on the system. This would release the associated device-mapper mappings and allow the device content to be erased with tools like wipefs(8).

At the pool level this could look like this in the stratis-cli:

# stratis pool disable <name>

On success the devices previously used by the pool should be unused.

A corresponding "enable" verb (or "stop/start", "enable/shutdown" etc.) may also be helpful for some users although it's less important for my current testing needs.

@jbaublitz
Copy link
Member

@mulkieran Are we considering this the main issue for starting and stopping pools?

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

Successfully merging a pull request may close this issue.

3 participants