]> sourceware.org Git - lvm2.git/blame - man/lvchange.8
Imported man pages from LVM1 with some quick LVM2 updates.
[lvm2.git] / man / lvchange.8
CommitLineData
922ce479
AK
1.TH LVCHANGE 8 "LVM TOOLS" "Sistina Software UK" \" -*- nroff -*-
2.SH NAME
3lvchange \- change attributes of a logical volume
4.SH SYNOPSIS
5.B lvchange
6[\-A/\-\-autobackup y/n] [\-a/\-\-available y/n]
7[\-C/\-\-contiguous y/n] [\-d/\-\-debug] [\-h/\-?/\-\-help]
8[\-p/\-\-permission r/w] [\-r/\-\-readahead ReadAheadSectors]
9[\-v/\-\-verbose] LogicalVolumePath [LogicalVolumePath...]
10.SH DESCRIPTION
11lvchange allows you to change the attributes of a logical volume.
12.SH OPTIONS
13See \fBlvm\fP for common options.
14.TP
15.I \-A, \-\-autobackup y/n
16Controls automatic backup of VG metadata after the change ( see
17.B vgcfgbackup(8)
18). Default is yes.
19.TP
20.I \-a, \-\-available y/n
21Controls the availability of the logical volumes for use.
22This is (among others) useful for changing the logical volume's name
23( see
24.B lvrename(8)
25) safely.
26.TP
27.I \-C, \-\-contiguous y/n
28Tries to set or resets the contiguous allocation policy for
29logical volumes. It's only possible to change a non-contiguous
30logical volume's allocation policy to contiguous, if all of the
31allocated physical extents are already contiguous.
32.TP
33.I \-p, \-\-permission r/w
34Change access permission to read-only or read/write.
35.TP
36.I \-r, \-\-readahead ReadAheadSectors
37Change read ahead sector count per logical between 2 and 120.
38.SH Examples
39"lvchange -x n /dev/vg00/lvol1" prevents the allocation of any physical
40extents on logical volume lvol1 in volume group vg00.
41.SH SEE ALSO
42.BR lvm (8),
43.BR lvcreate (8)
This page took 0.025579 seconds and 5 git commands to generate.