| .TH LVRENAME 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*- |
| .SH NAME |
| lvrename \(em rename a logical volume |
| .SH SYNOPSIS |
| .B lvrename |
| .RB [ \-A | \-\-autobackup |
| .RI { y | n }] |
| .RB [ \-\-commandprofile |
| .IR ProfileName ] |
| .RB [ \-d | \-\-debug ] |
| .RB [ \-h | \-\-help ] |
| .RB [ \-t | \-\-test ] |
| .RB [ \-v | \-\-verbose ] |
| .RB [ \-\-version ] |
| .RB [ \-f | \-\-force ] |
| .RB [ \-\-noudevsync ] |
| .RB [ \-\-reportformat |
| .RB { basic | json }] |
| .RI { OldLogicalVolume { Name | Path } |
| .IR NewLogicalVolume { Name | Path } |
| | |
| .I VolumeGroupName OldLogicalVolumeName NewLogicalVolumeName\fR} |
| .SH DESCRIPTION |
| lvrename renames an existing logical volume or an existing |
| historical logical volume from |
| .IR OldLogicalVolume { Name | Path } |
| to |
| .IR NewLogicalVolume { Name | Path }. |
| .SH OPTIONS |
| See \fBlvm\fP(8) for common options. |
| .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. |
| .SH EXAMPLE |
| 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 |
| .SH SEE ALSO |
| .BR lvm (8), |
| .BR lvchange (8), |
| .BR vgcreate (8), |
| .BR vgrename (8) |