---
name: "lvmiopversion"
section: "1"
platform: "linux"
package: "lvm-common"
version: "1.5.20"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/lvmiopversion"
---

# lvmiopversion(1)

program to report LVM protocol version

## NAME

lvmiopversion - program to report LVM protocol version

## SYNOPSIS

**lvmiopversion**\
 **lvmtoolname** \[*options*\]*...*

## DESCRIPTION

When invoked as **lvmiopversion**, the program reports the LVM protocol version of the currently running kernel. However, when invoked otherwise (eg as **{program}**), it acts as a wrapper, and it will execute the program **/sbin/lvm-{version}/{program}** where **{version}** is the protocol version. For example, if it were called as **vgscan -a**, it might execute **/sbin/lvm-10/vgscan -a**.

If it cannot determine the protocol version when invoked as a wrapper (which may be because it does not have root permissions), it will execute **/sbin/lvm-default/{program}**; **/sbin/lvm-default** should be a symlink, and under Debian this is set up via the alternatives mechanism.

## OPTIONS

The program itself does not take any options; however, when invoked as a wrapper, the programs it executes in turn may take options.

## AUTHOR

This manual page was written by Tom Lees \<tom@debian.org\>, for the Debian GNU/Linux system (but may be used by others).

## SEE ALSO

[**lvm**(8)](/lvm/8.md), [**update-alternatives**(8)](/update-alternatives/8.md).
