Solved

Python library LVM

Posted on 2014-09-17
5
551 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

734 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