[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

General Programming Concepts: Writing and Debugging Programs


List of Logical Volume Subroutines

The library of LVM subroutines is a main component of the Logical Volume Manager.

LVM subroutines define and maintain 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.

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:

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.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]