1. Computing & Technology
Linux / Unix Command: lvmchange
Command Library

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.  

Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

Discuss in my forum

©2012 About.com. All rights reserved.

A part of The New York Times Company.