2008-10-08 16:50:13 +04:00
.TH LVRENAME 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
2002-01-04 23:35:19 +03:00
.SH NAME
lvrename \- rename a logical volume
.SH SYNOPSIS
.B lvrename
2011-09-07 12:50:35 +04:00
.RB [ \- A | \- \- autobackup
.RI { y | n }]
2002-01-04 23:35:19 +03:00
.RB [ \- d | \- \- debug ]
.RB [ \- h | \- \- help ]
2002-11-18 17:04:08 +03:00
.RB [ \- t | \- \- test ]
2002-01-04 23:35:19 +03:00
.RB [ \- v | \- \- verbose ]
.RB [ \- \- version ]
2011-09-07 12:50:35 +04:00
.RB [ \- f | \- \- force ]
.RB [ \- \- noudevsync ]
.RI { OldLogicalVolume { Name | Path }
.IR NewLogicalVolume { Name | Path }
|
2012-04-11 16:42:10 +04:00
.I VolumeGroupName OldLogicalVolumeName NewLogicalVolumeName\fR}
2002-01-04 23:35:19 +03:00
.SH DESCRIPTION
2012-04-11 16:42:10 +04:00
lvrename renames an existing logical volume from
2002-01-04 23:35:19 +03:00
.IR OldLogicalVolume { Name | Path }
to
.IR NewLogicalVolume { Name | Path }.
.SH OPTIONS
2011-09-07 12:50:35 +04:00
See \fB lvm\fP (8) for common options.
2009-08-04 12:09:52 +04:00
.TP
.BR \- \- noudevsync
Disable udev synchronisation. The
process will not wait for notification from udev.
It will continue irrespective of any possible udev processing
in the background. You should only use this if udev is not running
or has rules that ignore the devices LVM2 creates.
2002-01-04 23:35:19 +03:00
.SH EXAMPLE
2011-09-07 12:50:35 +04:00
To rename lvold in volume group vg02 to lvnew:
.sp
.B lvrename /dev/vg02/lvold vg02/lvnew
.sp
An alternate syntax to rename this logical volume is:
.sp
.B lvrename vg02 lvold lvnew
.sp
2002-01-04 23:35:19 +03:00
.SH SEE ALSO
.BR lvm (8),
.BR lvchange (8),
.BR vgcreate (8),
.BR vgrename (8)