Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Linux Magazine

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 53 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

lvextend



SYNOPSIS

       lvextend  [-A|--autobackup {y|n}] [-d|--debug] [-h|--help]
       {-l|--extents [+]LogicalExtentsNumber| -L|--size  [+]Logi­
       calVolumeSize[kKmMgGtT]}  [-v|--verbose] LogicalVolumePath
       [PhysicalVolumePath...]


DESCRIPTION

       lvextend allows you to extend the size of a  logical  vol­
       ume.   Extension  of  snapshot logical volumes (see lvcre­
       ate(8) for information to create snapshots) is supprted as
       well.

   OPTIONS
       -A, --autobackup y/n
              Controls  automatic backup of VG metadata after the
              change ( see vgcfgbackup(8) ). Default is yes.

       -d, --debug
              Enables additional debugging  output  (if  compiled
              with DEBUG).

       -h, --help
              Print  a  usage message on standard output and exit
              successfully.

       -l, --extents [+]LogicalExtentsNumber
              Extend or set the logical volume size in  units  of
              logical  extents.   With  the  +  sign the value is
              added to the actual size of the logical volume  and
              without  it, the value is taken as an absolute one.

       -L, --size [+]LogicalVolumeSize[kKmMgGtT]
              Extend or set the logical volume size in  units  in
              units  of  megabytes.   A  size  suffix  of  M  for
              megabytes, G for gigabytes or T  for  terabytes  is
              optional.   With  the  + sign the value is added to
              the actual size of the logical volume  and  without
              it, the value is taken as an absolute one.

       -v, --verbose
              Gives  verbose runtime information about lvextend's
              activities.


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.


DIAGNOSTICS

       lvextend returns an exit code of 0 for success or > 0  for
       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

       LVM_AUTOBACKUP
              If  this variable is set to "no" then the automatic
              backup of VG metadata is turned off.

       LVM_VG_MAX_BACKUPS
              This variable determines the backup  history  depth
              of  kept VGDA copy files in /etc/lvmconf. It can be
              set to a positive number between 0  and  999.   The
              higher  this  number  is,  the more changes you can
              restore using vgcfgrestore(8).

       LVM_VG_NAME
              The default Volume Group Name to use. Setting  this
              variable enables you to enter just the Logical Vol­
              ume Name rather than its complete path.


See also

       lvm(8), lvcreate(8), lvreduce(8), lvchange(8)


AUTHOR

       Heinz Mauelshagen <Linux-LVM@Sistina.com>

Heinz Mauelshagen           LVM TOOLS                 LVEXTEND(8)
  
Help us cut cost by not downloading the whole site!
Use of automated download sofware ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and therefore is expressedly prohibited. For more details on this, take a look here

Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
The Linux Tutorial can use your help.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.11 Seconds