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