Manpages

Manpage of VGREMOVE

VGREMOVE

Section: Maintenance Commands (8)
Updated: LVM TOOLS
Index
Return to Main Contents
 

NAME

vgremove - remove a volume group  

SYNOPSIS

vgremove [-d|--debug] [-h|--help] [-v|--verbose] VolumeGroupName [VolumeGroupName...]  

DESCRIPTION

vgremove allows you to remove one or more volume groups. The volume group(s) must not have any logical volumes allocated and must also be inactive (see vgchange(8) ).  

OPTIONS

-d, --debug
Enables additional debugging output (if compiled with DEBUG).
-h, --help
Print a usage message on standard output and exit successfully.
-v, --verbose
Gives verbose runtime information about vgremove's activities.
 

DIAGNOSTICS

vgremove returns an code code of 0 for success and > 0 for error:

1  no volume group name on command line
2  error setting up freed physical volume
3  error writing freed physical volume(s) to disk(s)
4  error removing volume group from lvmtab
5  can't remove volume group containing logical volumes
6  invalid volume group name
7  volume group is active
8  not all physical volumes are online
9  error accessing volume group
10 error reading volume group data from disk(s)

95 driver/module not in kernel
96 invalid I/O protocol version
97 error locking logical volume manager
98 invalid lvmtab (run vgscan(8))
99 invalid command line
 

See also

lvm(8), vgcreate(8), vgreduce(8)  

AUTHOR

Heinz Mauelshagen <Linux-LVM@Sistina.com>


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
DIAGNOSTICS
See also
AUTHOR

This document was created by man2html, using the manual pages.
Time: 00:47:11 GMT, March 05, 2024