man lvmchange () - change attributes of the logical volume manager

NAME

lvmchange - change attributes of the logical volume manager

SYNOPSIS

lvmchange [-d|--debug] [-f|--force] [-h|--help] {[-i|--iop_verion]| [-R|--reset]} [-v|--verbose]

DESCRIPTION

lvmchange allows you to reset the logical volume manager. Please be careful to have all logical volumes closed and/or unused!

OPTIONS

-d, --debug
Enables additional debugging output (if compiled with DEBUG).
-f, --force
Force the action without confirmation.
-h, --help
Print a usage message on standard output and exit successfully.
-i, --iop_version
Display the LVM io protocol version. This version number ensures that no incompatible data is passed to the driver.
-R, --reset
Emergency reset of the logical volume manager. This function is a "last resort" if something goes wrong to allow the the logical volume manager module to be unloaded. Not used in normal operation. Please be careful NOT to reset when logical volumes are in use!!!
-v, --verbose
Gives verbose information about lvmchange's activities.

Example

"lvmchange -fR" resets the logical volume manager without confirmation.

DIAGNOSTICS

lvmchange returns an exit code of 0 for success or > 0 for error:

1 error opening logical volume manager 2 error resetting logical volume manager

95 driver/module not in kernel 96 invalid I/O protocol version 97 error locking logical volume manager 99 invalid command line

See also

AUTHOR

Heinz Mauelshagen <Linux-LVM@Sistina.com>