Initial import of binutils 2.22 on the new vendor branch
[dragonfly.git] / contrib / lvm2 / dist / man / lvrename.8.in
1 .TH LVRENAME 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
2 .SH NAME
3 lvrename \- rename a logical volume
4 .SH SYNOPSIS
5 .B lvrename
6 .RB [ \-A | \-\-autobackup " {" y | n }]
7 .RB [ \-d | \-\-debug ]
8 .RB [ \-f | \-\-force ]
9 .RB [ \-h | \-\-help ]
10 .RB [ \-\-noudevsync ]
11 .RB [ \-t | \-\-test ]
12 .RB [ \-v | \-\-verbose ]
13 .RB [ \-\-version ]
14 .TP
15 .IR "OldLogicalVolumePath NewLogicalVolume" { Path | Name }
16 .TP
17 .I VolumeGroupName OldLogicalVolumeName NewLogicalVolumeName
18 .SH DESCRIPTION
19 .B lvrename
20 renames an existing logical volume from
21 .IR OldLogicalVolume { Name | Path }
22 to
23 .IR NewLogicalVolume { Name | Path }.
24 .SH OPTIONS
25 See \fBlvm\fP for common options.
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.
33 .SH EXAMPLE
34 To rename
35 .B lvold
36 in volume group
37 .B vg02
38 to
39 .BR lvnew :
40 .nf
41
42 \       lvrename /dev/vg02/lvold /dev/vg02/lvnew
43
44 .fi
45 An alternate syntax to rename this logical volume is
46 .nf
47
48 \       lvrename vg02 lvold lvnew
49
50 .fi
51 .SH SEE ALSO
52 .BR lvm (8), 
53 .BR lvchange (8),
54 .BR vgcreate (8), 
55 .BR vgrename (8)