Skip to content

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

@bmr-cymru

Description

@bmr-cymru

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions