Copyright (C) 2000-2012 |
Manpages LVRENAMESection: Maintenance Commands (8)Updated: LVM TOOLS Index Return to Main Contents NAMElvrename - rename a logical volumeSYNOPSISlvrename [-A|--autobackup {y|n}] [-d|--debug] [-h|--help] [-v|--verbose] [--version]
DESCRIPTIONlvrename renames an existing logical volume from OldLogicalVolume{Name|Path} to NewLogicalVolume{Name|Path}.OPTIONS
EXAMPLETo rename lvold in volume group vg02 to lvnew:lvrename /dev/vg02/lvold /dev/vg02/lvnewAn alternate syntax to rename this logical volume is lvrename vg02 lvold lvnew DIAGNOSTICSlvrename returns an exit code of 0 for success or > 0 for error:1 invalid logical volume name 2 error checking existence of volume group 3 volume group inactive 4 new logical volume special file already exists 5 old logical volume doesn't exist 6 volume group names are different 7 new logical volume already exist 9 error reading volume group 10 error getting index of old logical volume 11 error renaming logical volume in kernel 12 error creating new logical volume in kernel 13 error writing VGDA to physical volume(s) 14 error creating device special for new logical volume 15 invalid volume group name 95 driver/module not in kernel 96 invalid I/O protocol version 97 error locking logical volume manager 98 invalid lvmtab (run vgscan(8)) 99 invalid command line ENVIRONMENT VARIABLES
SEE ALSOlvm(8), lvchange(8), vgcreate(8), vgrename(8)AUTHORHeinz Mauelshagen <Linux-LVM@Sistina.com>
IndexThis document was created by man2html, using the manual pages. Time: 13:23:06 GMT, March 28, 2024 |