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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 |