Python script for Logical Volume Management

Python script for Logical Volume Management

In the last article , we've discussed how to create Logical Volumes to give dynamic storage to the Hadoop cluster with the help of Logical Volume Management. But there's a lot of hassle to first create write command to create PV (Physical Volume) then VG (Volume Group), etc.

So here I've created a python script with the help of which you can easily create Logical Volumes.

Just simply run the python script with the command:-

python3 lvm.py

Here's a look at it:-

lvm.jpg

To download to python script here's Github repo url:- github.com/Sahil-107/logical-volume-managem..