vgrename   Début   Suivant   Sommaire   Préc.page.lue   Accueil
Section: Maintenance Commands (8)
Updated: LVM TOOLS
Sommaire  



NAME   Début   Précédent   Suivant   Sommaire   Préc.page.lue   Accueil
vgrename - rename a volume group  



SYNOPSIS   Début   Précédent   Suivant   Sommaire   Préc.page.lue   Accueil
vgrename [-A/--autobackup y/n] [-d/--debug] [-h/-?/--help] [-t/--test] [-v/--verbose] OldVolumeGroup{Path|Name|UUID} NewVolumeGroup{Path|Name}  



DESCRIPTION   Début   Précédent   Suivant   Sommaire   Préc.page.lue   Accueil
vgrename renames an existing (see vgcreate(8) ) volume group from OldVolumeGroup{Name|Path|UUID} to NewVolumeGroup{Name|Path}.  



OPTIONS   Début   Précédent   Suivant   Sommaire   Préc.page.lue   Accueil
See lvm for common options.  



Examples   Début   Précédent   Suivant   Sommaire   Préc.page.lue   Accueil
"vgrename /dev/vg02 /dev/my_volume_group" renames existing volume group "vg02" to "my_volume_group".
"vgrename vg02 my_volume_group" does the same.
"vgrename Zvlifi-Ep3t-e0Ng-U42h-o0ye-KHu1-nl7Ns4 VolGroup00_tmp"
changes the name of the Volume Group with UUID Zvlifi-Ep3t-e0Ng-U42h-o0ye-KHu1-nl7Ns4 to "VolGroup00_tmp".

All the Volume Groups visible to a system need to have different names. Otherwise many LVM2 commands will refuse to run or give warning messages.

This situation could arise when disks are moved between machines. If a disk is connected and it contains a Volume Group with the same name as the Volume Group containing your root filesystem the machine might not even boot correctly. However, the two Volume Groups should have different UUIDs (unless the disk was cloned) so you can rename one of the conflicting Volume Groups with vgrename.

 



SEE ALSO   Début   Précédent   Suivant   Sommaire   Préc.page.lue   Accueil
lvm(8), vgchange(8), vgcreate(8), lvrename(8)


 



Sommaire   Début   Suivant   Sommaire   Préc.page.lue   Accueil
NAME
SYNOPSIS
DESCRIPTION
OPTIONS
Examples
SEE ALSO

Ce document a été créé par man2html suivi de man2html.pl, le 17/10/2008 17:56:07, en utilisant les pages de 'man'.
 

Valid HTML 4.01 Transitional