~ubuntu-branches/debian/sid/lvm2/sid

« back to all changes in this revision

Viewing changes to man/vgreduce.8.in

  • Committer: Package Import Robot
  • Author(s): Bastian Blank
  • Date: 2013-03-03 12:33:47 UTC
  • mfrom: (1.1.15)
  • Revision ID: package-import@ubuntu.com-20130303123347-smfwei6dodkdth55
Tags: 2.02.98-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
vgreduce \- reduce a volume group
4
4
.SH SYNOPSIS
5
5
.B vgreduce
6
 
[\-a|\-\-all] [\-A|\-\-autobackup y|n] [\-d|\-\-debug] [\-h|\-?|\-\-help]
7
 
[\-\-removemissing]
8
 
[\-t|\-\-test]
9
 
[\-v|\-\-verbose] VolumeGroupName
10
 
[PhysicalVolumePath...]
 
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 ...]
11
16
.SH DESCRIPTION
12
17
vgreduce allows you to remove one or more unused physical volumes
13
18
from a volume group.
14
19
.SH OPTIONS
15
 
See \fBlvm\fP for common options.
 
20
See \fBlvm\fP(8) for common options.
16
21
.TP
17
 
.I \-a, \-\-all
 
22
.BR \-a ", " \-\-all
18
23
Removes all empty physical volumes if none are given on command line.
19
24
.TP
20
 
.I \-\-removemissing
 
25
.B \-\-removemissing
21
26
Removes all missing physical volumes from the volume group, if there are no
22
27
logical volumes allocated on those. This resumes normal operation of the volume
23
28
group (new logical volumes may again be created, changed and so on).
24
29
 
25
30
If this is not possible (there are logical volumes referencing the missing
26
31
physical volumes) and you cannot or do not want to remove them manually, you
27
 
can run this option with --force to have vgreduce remove any partial LVs.
 
32
can run this option with \fB--force\fP to have \fBvgreduce\fP
 
33
remove any partial LVs.
28
34
 
29
35
Any logical volumes and dependent snapshots that were partly on the 
30
36
missing disks get removed completely. This includes those parts 
32
38
 
33
39
If your logical volumes spanned several disks including the ones that are
34
40
lost, you might want to try to salvage data first by activating your
35
 
logical volumes with --partial as described in \fBlvm (8)\fP.
 
41
logical volumes with \fB--partial\fP as described in \fBlvm\fP(8).
36
42
 
37
43
.SH SEE ALSO
38
44
.BR lvm (8),