~ubuntu-branches/ubuntu/breezy/lvm2/breezy

« back to all changes in this revision

Viewing changes to man/vgchange.8

  • Committer: Bazaar Package Importer
  • Author(s): Patrick Caulfield
  • Date: 2004-11-03 09:37:56 UTC
  • Revision ID: james.westby@ubuntu.com-20041103093756-jt0nj8z0v8k1lyiv
Tags: upstream-2.00.25
ImportĀ upstreamĀ versionĀ 2.00.25

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH VGCHANGE 8 "LVM TOOLS" "Sistina Software UK" \" -*- nroff -*-
 
2
.SH NAME
 
3
vgchange \- change attributes of a volume group
 
4
.SH SYNOPSIS
 
5
.B vgchange
 
6
.RB [\-\-addtag
 
7
.IR Tag ]
 
8
.RB [\-A | \-\-autobackup " {" y | n }]
 
9
.RB [\-a | \-\-available " {" y | n }]
 
10
.RB [\-d | \-\-debug]
 
11
.RB [\-\-deltag
 
12
.IR Tag ]
 
13
.RB [\-h | \-\-help]
 
14
.RB [\-\-ignorelockingfailure]
 
15
.RB [\-l | \-\-logicalvolume
 
16
.IR MaxLogicalVolumes ]
 
17
.RB [\-P | \-\-partial]
 
18
.RB [-t | \-\-test]
 
19
.RB [\-v | \-\-verbose]
 
20
.RB [\-\-version ]
 
21
.RB [\-x | \-\-resizeable " {" y | n }]
 
22
.RI [ VolumeGroupName ...]
 
23
.SH DESCRIPTION
 
24
.B vgchange
 
25
allows you to change the attributes of one or more volume groups.
 
26
Its main purpose is to activate and deactivate
 
27
.IR VolumeGroupName ,
 
28
or all volume groups if none is specified.  Only active volume groups
 
29
are subject to changes and allow access to their logical volumes.
 
30
[Not yet implemented: During volume group activation, if
 
31
.B vgchange
 
32
recognizes snapshot logical volumes which were dropped because they ran
 
33
out of space, it displays a message informing the administrator that such
 
34
snapshots should be removed (see
 
35
.BR lvremove (8)).
 
36
]
 
37
.SH OPTIONS
 
38
See \fBlvm\fP for common options.
 
39
.TP
 
40
.BR \-A ", " \-\-autobackup { y | n }
 
41
Controls automatic backup of metadata after the change.  See
 
42
.B vgcfgbackup (8).
 
43
Default is yes.
 
44
.TP
 
45
.BR \-a ", " \-\-available { y | n }
 
46
Controls the availability of the volume group for input/output.
 
47
In other words: makes a volume group known/unknown to the kernel.
 
48
.TP
 
49
.BR \-l ", " \-\-logicalvolume " " \fIMaxLogicalVolumes\fR
 
50
Changes the maximum logical volume number of an existing inactive
 
51
volume group.
 
52
.TP
 
53
.BR \-x ", " \-\-resizeable { y | n }
 
54
Enables or disables the extension/reduction of this volume group
 
55
with/by physical volumes.
 
56
.SH EXAMPLES
 
57
To activate all known volume groups in the system:
 
58
.nf
 
59
 
 
60
\       vgchange -a y
 
61
 
 
62
.fi
 
63
To change the maximum number of logical volumes of inactive volume group
 
64
.B vg00
 
65
to 128.
 
66
.nf
 
67
 
 
68
\       vgchange -l 128 /dev/vg00
 
69
 
 
70
.fi
 
71
.SH SEE ALSO
 
72
.BR lvm (8),
 
73
.BR vgcreate (8)