]> sourceware.org Git - lvm2.git/blame - man/vgreduce.8.in
spacing
[lvm2.git] / man / vgreduce.8.in
CommitLineData
5951ef33 1.TH VGREDUCE 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
922ce479
AK
2.SH NAME
3vgreduce \- reduce a volume group
4.SH SYNOPSIS
5.B vgreduce
c63b155d
ZK
6.RB [ \-a | \-\-all ]
7.RB [ \-A | \-\-autobackup
8.RI { y | n }]
9.RB [ \-d | \-\-debug ]
10.RB [ \-h | \-? | \-\-help ]
11.RB [ \-\-removemissing ]
12.RB [ \-t | \-\-test ]
13.RB [ \-v | \-\-verbose ]
14.I VolumeGroupName
15.RI [ PhysicalVolumePath ...]
922ce479
AK
16.SH DESCRIPTION
17vgreduce allows you to remove one or more unused physical volumes
18from a volume group.
19.SH OPTIONS
c63b155d 20See \fBlvm\fP(8) for common options.
922ce479 21.TP
c63b155d 22.BR \-a ", " \-\-all
922ce479 23Removes all empty physical volumes if none are given on command line.
a421f743 24.TP
c63b155d 25.B \-\-removemissing
8c5bcdab
AK
26Removes all missing physical volumes from the volume group, if there are no
27logical volumes allocated on those. This resumes normal operation of the volume
28group (new logical volumes may again be created, changed and so on).
a421f743 29
8c5bcdab
AK
30If this is not possible (there are logical volumes referencing the missing
31physical volumes) and you cannot or do not want to remove them manually, you
c63b155d
ZK
32can run this option with \fB--force\fP to have \fBvgreduce\fP
33remove any partial LVs.
a421f743
AK
34
35Any logical volumes and dependent snapshots that were partly on the
36missing disks get removed completely. This includes those parts
37that lie on disks that are still present.
38
39If your logical volumes spanned several disks including the ones that are
40lost, you might want to try to salvage data first by activating your
c63b155d 41logical volumes with \fB--partial\fP as described in \fBlvm\fP(8).
a421f743 42
922ce479 43.SH SEE ALSO
5951ef33 44.BR lvm (8),
922ce479 45.BR vgextend (8)
This page took 0.075835 seconds and 5 git commands to generate.