A python script to automate LVM
A python script to automate Logical Volume Management (LVM).
script.py
: This script treats the filesystems without queueing the ones that are busy.main_script.py
: This script works together withbg_script.py
to treat all the filesystems.bg_script.py
: This script is used in conjunction withmain_script.py
to treat all the filesystems.
disclaimer: the parameters were chosen intuitively, this is not a script that can be used professionally but more of a experimentation or as a starting point for a more serious implementation.
script.py
: This script performs the LVM operations on the filesystems. It checks if a filesystem is busy before treating it.main_script.py
: This script coordinates the execution ofscript.py
andbg_script.py
to ensure all filesystems are treated.bg_script.py
: This script runs in the background and assistsmain_script.py
in treating the filesystems.
Please refer to the individual script files for more detailed explanations of their functionality and how they interact with each other.