]>
Commit | Line | Data |
---|---|---|
5951ef33 | 1 | .TH VGREDUCE 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*- |
922ce479 AK |
2 | .SH NAME |
3 | vgreduce \- 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 |
17 | vgreduce allows you to remove one or more unused physical volumes | |
18 | from a volume group. | |
19 | .SH OPTIONS | |
c63b155d | 20 | See \fBlvm\fP(8) for common options. |
922ce479 | 21 | .TP |
c63b155d | 22 | .BR \-a ", " \-\-all |
922ce479 | 23 | Removes all empty physical volumes if none are given on command line. |
a421f743 | 24 | .TP |
c63b155d | 25 | .B \-\-removemissing |
8c5bcdab AK |
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). | |
a421f743 | 29 | |
8c5bcdab AK |
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 | |
c63b155d ZK |
32 | can run this option with \fB--force\fP to have \fBvgreduce\fP |
33 | remove any partial LVs. | |
a421f743 AK |
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 | |
c63b155d | 41 | logical 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) |