Copyright (C) 2000-2012 |
Manpages LVEXTENDSection: Maintenance Commands (8)Updated: LVM TOOLS Index Return to Main Contents NAMElvextend - extend the size of a logical volumeSYNOPSISlvextend [-A|--autobackup {y|n}] [-d|--debug] [-h|--help] {-l|--extents [+]LogicalExtentsNumber| -L|--size [+]LogicalVolumeSize[kKmMgGtT]} [-v|--verbose] LogicalVolumePath [PhysicalVolumePath...]DESCRIPTIONlvextend allows you to extend the size of a logical volume. Extension of snapshot logical volumes (see lvcreate(8) for information to create snapshots) is supprted as well.OPTIONS
Examples"lvextend -L +54 /dev/vg01/lvol10 /dev/sdk3" tries to extend the size of that logical volume by 54MB on physical volume /dev/sdk3. This is only possible if /dev/sdk3 is a member of volume group vg01 and there are enough free physical extents in it.DIAGNOSTICSlvextend returns an exit code of 0 for success or > 0 for error:1 no logical volume name on command line 2 invalid physical volume name on command line 3 invalid logical volume name 4 error checking existence of logical volume 5 logical volume not active 6 error reading VGDA 7 requested physical volume not in this volume group 8 error getting index of logical volume 9 logical volume size not bigger than before 10 logical volume size exceeds volume group free capacity 11 logical volume size exceeds maximum 12 error setting up VGDA for logical volume extension 13 error extending VGDA for logical volume in kernel 14 error writing VGDA to physical volume(s) 15 error getting index for read/write statistics transfer 16 error getting status of logical volume from kernel 17 error setting up copy on write exception table 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), lvcreate(8), lvreduce(8), lvchange(8)AUTHORHeinz Mauelshagen <Linux-LVM@Sistina.com>
IndexThis document was created by man2html, using the manual pages. Time: 08:57:38 GMT, April 20, 2024 |