Solved

Python library LVM

Posted on 2014-09-17
5
522 Views
Last Modified: 2014-10-22
I am new to python and I have installed python-pip package for the following purpose.

1. import LVM library and use it

How can i import LVM library? for LVM operation is there any library for python?

Can some one give me some steps on how to get this working.
0
Comment
Question by:linuxperson
  • 2
5 Comments
 
LVL 37

Expert Comment

by:Gerwin Jansen
ID: 40330957
What is your goal here? Do you want to start programming in Python, or do you want to change something existing?
0
 

Author Comment

by:linuxperson
ID: 40382890
I wanted to create a simple LV using python.
0
 
LVL 45

Accepted Solution

by:
aikimark earned 500 total points
ID: 40383033
@linuxperson

Are you able to create the LV with shell commands?  If so, why not just issue those commands from your Python code?
0
 

Author Comment

by:linuxperson
ID: 40398074
yes.

I will go with the LVM command  then.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question