Open 101smurf opened 10 months ago
Files identified in the description:
If these files are incorrect, please update the component name
section of the description or use the !component
bot command.
cc @abulimov @jhoekx @unkaputtbar112 @zigaSRC click here for bot help
I'm aware that merging a live snapshot requires a reboot. I'm not sure if that's up to the module to implement. I also noticed some residual files remaining in /dev/mapper the first reboot after merging. Not sure if the module should fix that either.
It might make sense to create a new module for this, instead of trying to integrate it into the existing one, if you want extra features such as rebooting. The module could also return whether a reboot is needed and leave it up to the user to reboot.
I'm aware that merging a live snapshot requires a reboot. I'm not sure if that's up to the module to implement. I also noticed some residual files remaining in /dev/mapper the first reboot after merging. Not sure if the module should fix that either.
I might have missed something in your case, but from my experience and according to Redhat (from 6 to 9), merging LVM snapshots does not require any reboot.
I hope this helps.
I'm restoring a snapshot of the root partition :)
I'm restoring a snapshot of the root partition :)
OK, you are right then :-D. In this case this is a requirement.
Summary
I'm trying to write a playbook that merges an LVM snapshot. This can be achieved using the lvconvert command, but I'd rather use a module.
Issue Type
Feature Idea
Component Name
lvol
Additional Information
Code of Conduct