Content-type: text/html Man page of lvextend

lvextend

Section: Maintenance Commands (8)
Index Return to Main Contents
 

NAME

lvextend - Increases the number of physical extents allocated to a logical volume  

SYNOPSIS


/usr/sbin/lvextend -l LogicalExtentsNumber | -m MirrorCopies LogicalVolumePath [PhysicalVolumePath ...]  

DESCRIPTION

This command is no longer supported on Digital UNIX systems. Features formerly provided by the Logical Volume Manager (LVM) are now provided by the Logical Storage Manager (LSM). Existing LVM volumes must be migrated to LSM, using an encapsulation process. For information about moving LVM volumes to LSM, see the vollvmencap(8) reference page and the manual Logical Storage Manager.

The lvextend command changes either the number of logical extents allocated to a logical volume specified with the LogicalVolumePath parameter or the number of physical extents allocated to each logical extent in the logical volume. The change is determined according to which command flags you use.  

FLAGS

Increases the number of logical extents allocated to the LogicalVolumePath. LogicalExtentsNumber must be greater than the number of logical extents previously allocated to LogicalVolumePath and less than 65535 which is the implementation limit.

LogicalExtentsNumber represents the new total number of logical extents that can be allocated to LogicalVolumePath. The change is accomplished by allocating the number of additional logical extents represented by the difference between LogicalExtentsNumber and the previous number of extents.

The mirror policy and mirror copies number for the new logical extents is the same as previously established for the LogicalVolumePath.

Either this option or the -m option must be supplied. Sets the number of physical extents allocated for each logical extent.

MirrorCopies (that is, mirrors) can be either 1 or 2. This means that beyond the original copy, one or two mirror copies will contain the same data as the original copy. MirrorCopies must be greater than the current number of mirrors for the logical volume.

The data in the new copies are synchronized. The synchronization process can be time consuming, depending on the hardware characteristics and the amount of data. If the allocation policy for the logical volume is strict and the specified physical volume already contains logical extents of the logical volume, the request is rejected.

Either this option or the -l option must be supplied.  

EXAMPLES

To increase the number of the logical extents of logical volume lv03 up to one hundred, enter: lvextend -l 100 /dev/vg01/lv03 To get two mirrors (that is, three copies) for each logical extent of logical volume lv05, enter: lvextend -m 2 /dev/vg01/lv05 Each logical extent of logical volume lv05 is now doubly mirrored.  

FILES

Specifies the command path.  

RELATED INFORMATION

Commands: lvcreate(8), lvdisplay(8), lvreduce(8), pvchange(8), pvdisplay(8) delim off


 

Index

NAME
SYNOPSIS
DESCRIPTION
FLAGS
EXAMPLES
FILES
RELATED INFORMATION

This document was created by man2html, using the manual pages.
Time: 02:40:32 GMT, October 02, 2010