Skip to contentSkip to conversation

expanding on LVM2

linux-lvm Sharad Tiwari 3 participants 3 messages Mar 13, 2003 – Mar 14, 2003

lore
Share & tools
lore
#0 lore raw

hi all,

I have successfully installed LVM2 on linux 2.4.19.

I want to do some further work on that, and am not sure if that is already available, so could someone please elaborate on the availability of a kernel API / library in the userland, i.e What are the library exposed or the kernel APIs available for an lvm consumer who wants to add new functionalities or write customised LVM customised LVM administrative tool. Warm regards Sharad

Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy the best in Movies at http://www.videos.indiatimes.com
Bid for Air Tickets @ Re.1 on Air Sahara Flights. Just log on to http://airsahara.indiatimes.com and Bid Now !

#1 lore raw
Quoted 7 lines · Sharad Tiwari

hi all,

I have successfully installed LVM2 on linux 2.4.19.

I want to do some further work on that, and am not sure if that is already available, so could someone please elaborate on the availability of a kernel API / library in the userland, i.e What are the library exposed or the kernel APIs available for an lvm consumer who wants to add new functionalities or write customised LVM customised LVM administrative tool. Warm regards

There is a small library called libdevmapper which you could use to drive the kernel component directly. LVM2 uses this, I think EVMS has opted to use the ioctl commands directly.

There is not a library for LVM2, and neither are there plans to produce one. Your program should call the lvm2 tools themselves. See the vgs, pvs, lvs commands for ways to get easily parsable information.

- Joe

#2 lore raw

[linux-lvm] volume group for root disk

In reply to Sharad Tiwari

Hi,

I am an user of LVM2. I would like to know whether root disk can be brought under the control of LVM. I mean to say, can we create root volume in LVM2?

Thanks,
Rayas