Automating LVM Partition using Python-Script.

Automation include higher production rates and increased productivity, more efficient use of materials, better product quality, improved safety, shorter workweeks for labour, and reduced factory lead times.


First I attached a external storage device of 20 GB.

Checking device name.
Creating a Physical Volume
Creating a Volume Group
Creating a logical Volume
Increasing the size of Logical Volume .


For any query or suggestions dm me on my LinkedIn.




Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store