]>
Commit | Line | Data |
---|---|---|
5951ef33 | 1 | .TH LVRENAME 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*- |
922ce479 AK |
2 | .SH NAME |
3 | lvrename \- rename a logical volume | |
4 | .SH SYNOPSIS | |
5 | .B lvrename | |
59cf7b6f ZK |
6 | .RB [ \-A | \-\-autobackup |
7 | .RI { y | n }] | |
922ce479 AK |
8 | .RB [ \-d | \-\-debug ] |
9 | .RB [ \-h | \-\-help ] | |
5a52dca9 | 10 | .RB [ \-t | \-\-test ] |
922ce479 AK |
11 | .RB [ \-v | \-\-verbose ] |
12 | .RB [ \-\-version ] | |
59cf7b6f ZK |
13 | .RB [ \-f | \-\-force ] |
14 | .RB [ \-\-noudevsync ] | |
15 | .RI { OldLogicalVolume { Name | Path } | |
16 | .IR NewLogicalVolume { Name | Path } | |
17 | | | |
c63b155d | 18 | .I VolumeGroupName OldLogicalVolumeName NewLogicalVolumeName\fR} |
922ce479 | 19 | .SH DESCRIPTION |
c63b155d | 20 | lvrename renames an existing logical volume from |
922ce479 AK |
21 | .IR OldLogicalVolume { Name | Path } |
22 | to | |
23 | .IR NewLogicalVolume { Name | Path }. | |
24 | .SH OPTIONS | |
59cf7b6f | 25 | See \fBlvm\fP(8) for common options. |
c48b1005 PR |
26 | .TP |
27 | .BR \-\-noudevsync | |
28 | Disable udev synchronisation. The | |
29 | process will not wait for notification from udev. | |
30 | It will continue irrespective of any possible udev processing | |
31 | in the background. You should only use this if udev is not running | |
32 | or has rules that ignore the devices LVM2 creates. | |
922ce479 | 33 | .SH EXAMPLE |
59cf7b6f ZK |
34 | To rename lvold in volume group vg02 to lvnew: |
35 | .sp | |
36 | .B lvrename /dev/vg02/lvold vg02/lvnew | |
37 | .sp | |
38 | An alternate syntax to rename this logical volume is: | |
39 | .sp | |
40 | .B lvrename vg02 lvold lvnew | |
41 | .sp | |
922ce479 AK |
42 | .SH SEE ALSO |
43 | .BR lvm (8), | |
44 | .BR lvchange (8), | |
45 | .BR vgcreate (8), | |
46 | .BR vgrename (8) |