đŸ”…Automating LVM Partition using Python-Script.
Nov 27, 2020
đŸŒ€ 7.1.C: Elasticity Task
So for practical purposes, we would attach newly made external hard disks to the OS.
Now we can see we have to new hard disks of sizes 8 GB both.
Now for automation purposes we would write a python script to automate the task of LVM partition.
So after creating the above code we would simply run the code and provide the simple inputs asked.
After runing python3 lvmauto.py we have just given 5 inputs and our desired work is automatically carried out by the system.