Task 7.1-(C)✍️: Automating the LVM partition using python script.

  • Here I will share with you all the python script for automating the LVM.
  • You can get my python script on below GitHub link:
  • After running the code the python asks us for the command to run through numbers. These numbers in the menu of python code specify the task to be performed for creating LVM.
  • User needs to only press the number which task he want to perform.
  • For the LVM these steps needs to be performed serially.
  • The concept of LVM remains the same as I mentioned in the previous blog of LVM with Hadoop.
  • Here we are doing it by automation using script which saves the time of doing it manually.



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
Jyoti Pawar

Jyoti Pawar


Devops || AWS || ML || Deep learning || Python || Flask || Ansible RH294 || OpenShift DO180