1VGREDUCE(8)                 System Manager's Manual                VGREDUCE(8)
2
3
4

NAME

6       vgreduce - reduce a volume group
7

SYNOPSIS

9       vgreduce  [-a|--all]  [-A|--autobackup y|n] [-d|--debug] [-h|-?|--help]
10       [--removemissing] [-t|--test]  [-v|--verbose]  VolumeGroupName  [Physi‐
11       calVolumePath...]
12

DESCRIPTION

14       vgreduce  allows you to remove one or more unused physical volumes from
15       a volume group.
16

OPTIONS

18       See lvm for common options.
19
20       -a, --all
21              Removes all empty physical volumes if none are given on  command
22              line.
23
24       --removemissing
25              Removes  all  missing physical volumes from the volume group, if
26              there are no logical volumes allocated on  those.  This  resumes
27              normal  operation  of  the volume group (new logical volumes may
28              again be created, changed and so on).
29
30              If this is not possible (there are logical  volumes  referencing
31              the  missing  physical volumes) and you cannot or do not want to
32              remove them manually, you can run this option  with  --force  to
33              have vgreduce remove any partial LVs.
34
35              Any  logical volumes and dependent snapshots that were partly on
36              the missing disks get removed completely.  This  includes  those
37              parts that lie on disks that are still present.
38
39              If your logical volumes spanned several disks including the ones
40              that are lost, you might want to try to salvage  data  first  by
41              activating  your  logical volumes with --partial as described in
42              lvm (8).
43
44

SEE ALSO

46       lvm(8), vgextend(8)
47
48
49
50Sistina Software UK    LVM TOOLS 2.02.84(2) (2011-02-09)           VGREDUCE(8)
Impressum