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

feat: add support for reverting LV back to state of snapshot #15

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

trgill
Copy link
Collaborator

@trgill trgill commented Jan 25, 2024

Enhancement: add support for reverting LVs to snapshots

Reason: MVP requirements call for ability to revert snapshots

Use the lvconvert --merge command to revert the changes made to the
LVM logical volume.

If either the source LV or snapshot are open, the merge is deferred
until the next time the server reboots and thesource logical volume
is activated.

Result: Users can revert to snapshots

Issue Tracker Tickets (Jira or BZ if any):

README.md Show resolved Hide resolved
Reason: MVP requirements call for ability to revert snapshots

Use the lvconvert --merge command to revert the changes made to the
LVM logical volume.

If either the source LV or snapshot are open, the merge is deferred
until the next time the server reboots and thesource logical volume
is activated.

Refactor command line parser to simplify.

Result: Users can revert to snapshots

Signed-off-by: Todd Gill <[email protected]>
Co-authored-by: Richard Megginson <[email protected]>
@richm
Copy link
Contributor

richm commented Jan 26, 2024

[citest]

@richm richm merged commit cfe092b into linux-system-roles:main Jan 26, 2024
25 of 29 checks passed
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 this pull request may close these issues.

2 participants