lvremove — remove one or more logical volumes from LVM volume group
cannot be performed if the volume group is activated in shared mode.
command removes each logical volume specified by
Logical volumes must be closed before they can be removed.
For example, if the logical volume contains a file system,
unmount the file system before removing it.
Options and Arguments
recognizes the following options and arguments:
The block device path name of a logical volume.
- -A autobackup
Set automatic backup for this invocation of this command.
can have one of the following values:
Automatically back up configuration changes made to the logical volume.
This is the default.
After this command executes, the
is executed for the volume group to which the logical volume belongs.
Do not back up configuration changes this time.
Specify that no user confirmation is required.
determines the language in which messages are displayed.
is not specified or is null, it defaults to
If any internationalization variable contains an invalid setting,
all internationalization variables default to "C" (see
Remove a logical volume without requiring user confirmation:
lvremove -f /dev/vg01/lvol5
This command destroys all data in the specified logical volumes.