Library of logical volume subroutines

LVM subroutines define and maintain the logical and physical volumes of a volume group.

System management commands use these subroutines 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 provide alternatives to or expand the function of the system management commands for logical volumes.

Note: The LVM subroutines use the sysconfig system call, which requires root user authority, to query and update kernel data structures describing a volume group. You must have root user authority to use the services of the LVM subroutine library.
The following services are available:
Services Description
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 online.