-
Notifications
You must be signed in to change notification settings - Fork 55
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 ability to start and stop pools #2949
Conversation
8b71434
to
bf0eb39
Compare
|
Expect udev tests to fail |
ab56cd9
to
d2e9830
Compare
Blocked by stratis-storage/libblkid-rs#75 |
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.
Just a few more...almost done!
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.
No further requests...
28dd77b
to
399f7b4
Compare
@jbaublitz Plz squash the commits a bit and I'll go ahead and merge. |
Blocked by #3027 |
@mulkieran @bmr-cymru I found a bug in signal handling with the switch from LockedPools to StoppedPools. I've pushed an additional commit and am putting this back in review. |
This commit replaces the previous approach of unlocking encrypted pools with full support for starting and stopping pools. Locked encrypted pools are now simply considered stopped. The behavior of stopping pools is as follows. A pool that is started when the system shuts down will be started after booting the system again. A pool that is stopped will remain stopped and will not be set up until it is started again. This operation requires a change to the metadata schema to store whether a pool is stopped or started. Migration from older versions of stratisd is handled. Stopping an encrypted pool will lock all of the encrypted devices.
Ready for merge. |
Closes stratis-storage/project#296