Bluehost.com Web Hosting $6.95

Logical Volume Subroutines

This is a discussion on Logical Volume Subroutines within the Linux General forums, part of the Linux Forums category; Can some body suggest a work around for LVM routines on Linux. LVM routines maintains the logical and physical volumes ...


Go Back   Usenet Forums > Linux Forums > Linux General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-25-2005
foodic
 
Posts: n/a
Default Logical Volume Subroutines

Can some body suggest a work around for LVM routines on Linux.
LVM routines maintains the logical and physical volumes of a volume
group. They are used by the system management commands to perform
system management for the logical and physical volumes of a system. The
programming interface for the library of LVM subroutines is available
to anyone who wishes to provide alternatives to or expand the function
of the system management commands for logical volumes. Basically These
subroutines are from AIXLibrary.
The following services are available:
lvm_querylv Queries a logical volume and returns all pertinent
information.
lvm_querypv Queries a physical volume and returns all pertinent
information.
lvm_queryvg Queries a volume group and returns pertinent information.
lvm_queryvgs Queries the volume groups of the system and returns
information for groups that are varied on-line.

Any work around or Library available on Linux to port these
four routines.

Thanks
divya

Reply With Quote
  #2 (permalink)  
Old 02-28-2005
Tauno Voipio
 
Posts: n/a
Default Re: Logical Volume Subroutines

foodic wrote:
> Can some body suggest a work around for LVM routines on Linux.
> LVM routines maintains the logical and physical volumes of a volume
> group. They are used by the system management commands to perform
> system management for the logical and physical volumes of a system. The
> programming interface for the library of LVM subroutines is available
> to anyone who wishes to provide alternatives to or expand the function
> of the system management commands for logical volumes. Basically These
> subroutines are from AIXLibrary.
> The following services are available:
> lvm_querylv Queries a logical volume and returns all pertinent
> information.
> lvm_querypv Queries a physical volume and returns all pertinent
> information.
> lvm_queryvg Queries a volume group and returns pertinent information.
> lvm_queryvgs Queries the volume groups of the system and returns
> information for groups that are varied on-line.
>
> Any work around or Library available on Linux to port these
> four routines.
>
> Thanks
> divya
>


The same information is available in the LVM part of
the /proc filesystem: /proc/lvm/*. Open the relevant
file and read the data.

--

Tauno Voipio
tauno voipio (at) iki fi

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:39 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0