Solved

Python library LVM

Posted on 2014-09-17
5
510 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

This is an explanation of a simple data model to help parse a JSON feed
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

947 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now