]>
Commit | Line | Data |
---|---|---|
922ce479 AK |
1 | .TH LVCHANGE 8 "LVM TOOLS" "Sistina Software UK" \" -*- nroff -*- |
2 | .SH NAME | |
3 | lvchange \- 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 | |
11 | lvchange allows you to change the attributes of a logical volume. | |
12 | .SH OPTIONS | |
13 | See \fBlvm\fP for common options. | |
14 | .TP | |
15 | .I \-A, \-\-autobackup y/n | |
16 | Controls 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 | |
21 | Controls the availability of the logical volumes for use. | |
22 | This 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 | |
28 | Tries to set or resets the contiguous allocation policy for | |
29 | logical volumes. It's only possible to change a non-contiguous | |
30 | logical volume's allocation policy to contiguous, if all of the | |
31 | allocated physical extents are already contiguous. | |
32 | .TP | |
33 | .I \-p, \-\-permission r/w | |
34 | Change access permission to read-only or read/write. | |
35 | .TP | |
36 | .I \-r, \-\-readahead ReadAheadSectors | |
37 | Change 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 | |
40 | extents on logical volume lvol1 in volume group vg00. | |
41 | .SH SEE ALSO | |
42 | .BR lvm (8), | |
43 | .BR lvcreate (8) |